pytest-order
pytest-order copied to clipboard
pytest plugin that allows to customize the test execution order
I was looking at pytest-dependency and came across pytest-order. It looks pretty neat and works in the way I was hoping it would. It's amazing how this library works !...
Considering the example in pytest documentation: https://pytest.org/en/6.2.x/example/parametrize.html#a-quick-port-of-testscenarios If I include ordering: ``` scenario1 = ("basic", {"attribute": "value"}) scenario2 = ("advanced", {"attribute": "value2"}) class TestSampleWithScenarios: scenarios = [scenario1, scenario2] @pytest.mark.order(2) def...
As discussed in #51, I've been fiddling with the module to try and see how I could fit my needs. This is rough on the edges, and may not follow...
Hello, In order to order the tests of a personal project, I've attempted to order tests on the basis of files (or the classes within it), in order to keep...
Hello, I've been fiddling with pytest-order for a personal project. I wanted to order tests based on files and/or subdirectories, and I believe that it is not feasible at the...