Monday 10 November 2014

Setting up TestNG with Eclipse

Installation of TestNG plug-in with Eclipse:
There is no need to download any Jar file or exe file for installation.  We need to just utilize the “Install New Software” option available in the Eclipse.

Installation steps:
1. Click Help –> Install New Software



2. Type “http://beust.com/eclipse” in the “Work with” edit box and click ‘Add’ button
3. In the ‘Name’ column we can see “TestNG” –> Select this and click ‘Next’ button

4.  Click Next and click on the radio button “I accept the terms of the license agreement”
5. Click ‘Next’ button
6. Click ‘Finish’

This will install the TestNG plug-in for Eclipse.

After the installation, it will ask for restart of Eclipse.  Then restart the Eclipse.

Once the Eclipse is restarted, we can see the TestNG icons and menu items as in the below figures.



No comments:

Post a Comment