How to install TestNG plugin in eclipse IDE

In this post, we will look at how to Install the TestNG plugin in Eclipse IDE and we have also placed a video at the end of the article explaining how to install the TestNG plugin.

Let’s look at both of the methods one by one.

Installing TestNG plugin using Eclipse Marketplace

  1. Go to “Eclipse Marketplace“.
Go to eclipse Marketplace

2. Type TestNG in the input box and click on Install.

Note: There might be a scenario, where TestNG for Eclipse might not be shown in your eclipse. In that case, you could install TestNG using this method.

Type TestNg in input box and click install

3. Click on Confirm button

Click on Confirm

4. After that, select the radio button “I accept the terms of the license agreement” and then click on Finish

Click on Finish

5. It will start installing the TestNG and click on “Install anyway

Click on Install anyway

6. And then restart the eclipse by clicking on the “Restart now” button of the prompt.

Click on Restart now button

After restarting the eclipse, the TestNG should be installed on your machine.

Installing TestNG using by entering the URL

1. Click on Install New Software
  • In the eclipse menu bar, click on the Help option
  • Now, click on the Install New Software option as shown below in the image
Eclipse Help - Install New Software
2. Enter URL to install TestNG
  • Now, in Work With input field, enter
  • Click on Add Button
Enter the url in "Work with" box
  • Now, a pop up will appear, enter TestNG in the Name field
  • And click on Add button again
Add repository name
3. Follow the normal installation process
  • Now, tick the checkbox and then click on Next
select the TestNG checkboxes

  • After clicking Next, it will show you a list of items that will be installed
  • So, again click on Next
Click on Next
  • After that, select the radio button- I accept the terms of the license agreement
  • And click on Finish
Accept the terms
  • Now, a pop-up will appear, and then click on Install Anyway.
Click on Install anyway
4. Restart the eclipse

Now, restart the eclipse by clicking on Restart Now or you can do it manually also.

Click on Restart now

Well, this is it. TestNG should be installed in your eclipse IDE. And if you faced any issues while installing the TestNG, then you can also refer to the below video.

Video of Installing the TestNG plugin in Eclipse

Hope you have liked the article. If you have any doubts or concerns, please feel free to write us in the comments or mail us at

Liked the article? Share this on

Leave a Comment

Your email address will not be published. Required fields are marked *