O'Reilly logo

TestNg Beginner's Guide by Varun Menon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Running test classes in parallel

In our earlier example we had written a sample program that shows how to configure and run test methods in parallel in TestNG. In this section we will learn about executing test classes in parallel; each test class that is part of the test execution will be executed in its own thread. Let's write a sample program, which executes multiple test classes in parallel.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required