multiple cli commands not working with pytest_generate_tests
#10198
Unanswered
Montekkundan
asked this question in
Q&A
Replies: 1 comment 2 replies
-
You are only supposed to call Parametrize once, unfortunately you call it for each cli arg |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I'm following this, pytest_generate_url
As they explain, i too followed similar steps for my project:
Now when i run
pytest --type="chrome" tests/test_parking.py
it works great but when i add an additional argument like:pytest --type="chrome" --type="firefox" tests/test_parking.py
it only one test and that for firefox.How can i make it so that there are individual 2 test for reach argument.
Beta Was this translation helpful? Give feedback.
All reactions