ftobia/pytest-ordering

Ordering ignored on specification of multiple testcases

Opened this issue · 0 comments

While calling pytest with multiple modules/classes/test methods, pytest ordering is ignored and instead ordering such as on command line is being used.

py.test foo.py bar.py dood.py

Will be ordered tests from foo.py -> bar.py -> dood.py regardless of pytest-ordering plugin, when dood.py should have been running before foo and bar based on test being wrapped with order 1 and foo.py and bar.py test being wrapped with higher order.