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

Time for action – running a TestNG group through Eclipse

Perform the following steps to run a TestNG group through Eclipse:

  1. Open Eclipse and go to Run | Run Configurations.
  2. Select TestNG from the list of available configurations and click on the new configuration icon.
  3. In the new configuration window give a configuration name, for example, GroupTest.
  4. Go to the Project section and click on the Browse button. Select the previously created project that is GroupsProject:
    Time for action – running a TestNG group through Eclipse
  5. Go to the Groups section and click on the Browse button. Select the group which you would like to execute from the list, in this case it's test-group:
  6. Click on the Apply button and then click ...

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