- For method-level parallelism, then each method has a thread enabled and the execution order is not correct.
-
If you want the methods to be executed in order, you need to add Dependency
< /p>
The execution results are as follows:
p>
- Parallel of classes. There is a problem with the classes level, that is, if the time-out time is specified in the suit tag, parallel=”classes” will not take effect. It hurts, haha
- For test level, just specify parallel=”tests “