-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
Use case:
- creaet a test file "test_example1.py"
- Mark order from 1 to 5 for different test_methods
- Now create another test file "test_example2.py"
- Mark order from 1 to 5 for different test_methods
- py.test executes order 1 from both the files first even the test_method names are diffrent
- And it goes in similar pattern, executing order=1 in all files then goes to order=2 in all files etc.
It becomes very difficutl when we have more than 100 test case , If any one test case is added in single file we need to change the order number in all test case files.
More info in "http://stackoverflow.com/questions/35909656/pytest-ordered-plugin-doesnt-work-with-combination-of-multiple-files"
Reactions are currently unavailable