You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to the TestNG documentation section 5.10.2, specifying parallel="classes" should result in all the methods of a given class running in the same thread. TestNG 6.8.5 does not appear to satisfy this feature.
This project consists of seven test classes. Each class has two methods, one of which depends on the other. Each method records and prints the name of its thread. After each class runs, an @afterclass method prints the list of threads used to run the class's methods.
The testng.xml file specifies that the tests are to be run in parallel by class, using three threads.
As the printout on the project's README demonstrates (see the link, above), for some classes, the two test methods run on different threads.
The text was updated successfully, but these errors were encountered:
According to the TestNG documentation section 5.10.2, specifying
parallel="classes"
should result in all the methods of a given class running in the same thread. TestNG 6.8.5 does not appear to satisfy this feature.TestNG Parallel Demo is a github project that demonstrates the problem.
This project consists of seven test classes. Each class has two methods, one of which depends on the other. Each method records and prints the name of its thread. After each class runs, an @afterclass method prints the list of threads used to run the class's methods.
The testng.xml file specifies that the tests are to be run in parallel by class, using three threads.
As the printout on the project's README demonstrates (see the link, above), for some classes, the two test methods run on different threads.
The text was updated successfully, but these errors were encountered: