Closed
Description
Hi,
I would like to know whether it's possible to make orders for the following the structure :
\src
- \test
- \01_feature_1
- test_feature_a.py
- test_id_01 ---> order(1)
- test_id_02 ---> order(2)
- test_another_feature_a.py
- test_id_03 ---> order(3)
- test_id_04 ---> order(4)
- test_feature_a.py
- \02_feature_2
- test_feature_b.py
- test_id_01 ---> order(1)
- test_id_02 ---> order(2)
- test_another_feature_b.py
- test_id_03 ---> order(3)
- test_id_04 ---> order(4)
- test_feature_b.py
- \03_feature_3
- test_feature_c.py
- test_id_01 ---> order(1)
- test_id_02 ---> order(2)
- test_another_feature_c.py
- test_id_03 ---> order(3)
- test_id_04 ---> order(4)
- test_feature_c.py
- \01_feature_1
I'm executing all pytest from the \test level.
how to have the execution ordered by folder, then by the ordering number from each folder?
currently I'm using --order-scope=module --order-group-scope=class, but it seems the ordering is still not following the exact order number in 1 folder