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

Getting same Tests for different test scenarios #133

Closed
mhettiarac opened this issue Jul 7, 2020 · 2 comments
Closed

Getting same Tests for different test scenarios #133

mhettiarac opened this issue Jul 7, 2020 · 2 comments

Comments

@mhettiarac
Copy link

Hi @kerrykimbrough

We noticed same test scenario was repeated with empty value for the petId, any reason why this happens?

Tcases-sametestid

@kerrykimbrough
Copy link
Contributor

In principle, these tests are checking 4 different error conditions. But there are 2 problems here. For 3 of these conditions (empty string, null, undefined), the representation of the path param happens to be the same. And for the 4th condition (not a string value), this can't really be represented at all, since every value is serialized as string.

TFOA needs to be smarter about avoiding such duplicate tests.

@kerrykimbrough
Copy link
Contributor

Fixed by PR #137

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants