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 a TestNG group

In the earlier section we created a test class with certain test methods that belonged to a test group. In this section we will learn how to run such tests in different ways.

We can run test methods belonging to a certain group in mainly two ways:

  • Through Eclipse
  • Using the testng XML file

Using Eclipse

In this section we will learn how to run test methods that belong to a specific group using Eclipse.

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