Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test method name collisions #25

Open
chrislawlor opened this issue Sep 17, 2021 · 0 comments
Open

Test method name collisions #25

chrislawlor opened this issue Sep 17, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@chrislawlor
Copy link
Contributor

  • Pact Test Generator version: 0.4.0
  • Python version: 3.9
  • Operating System: macos

Description

Two tests with the same provider state and "upon_receiving" clause. Tests are in different files.

pact-testgen creates a test case where two test methods have the same name.

Expected Behavior

pact-testgen should de-duplicate the test methods in case of a collision.

@chrislawlor chrislawlor added the bug Something isn't working label Sep 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant