Answer the question
In order to leave comments, you need to log in
Test run order in python unittest?
Hello, I can't understand the order of launching files with tests:
-there is a structure like this:
Launch command: python -m unittest discover -s "." -p "*.py"
Why is the test A10_MATA030 run first, A9_MATA020 is the last to run. Accordingly, the last A11 does not work at all, what's the problem?
Answer the question
In order to leave comments, you need to log in
The problem is solved, the system compares file names in its own way. In this case, A1_ is compared with A10_. We get:
[A] [1] [0] [_]
| | | |
[A] [1] [_] [None]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question