[ACCEPTED]-How to install TestNG plug-in for Eclipse-testng

Accepted answer
Score: 13

Way 1: For the Eclipse plug-in, we suggest using 5 the update site:

  1. Open Eclipse
  2. Go to Help -> Install New Software...
  3. Click Add button to go to Add Repository prompt
  4. Enter Name as TestNG. In Location text box, enter the following URL -> Click Add button


  1. Make sure the check box in the list is checked and click Next.
    Eclipse will then guide you through the process.

After installation follow 4 the steps below:

  1. Restart eclipse
  2. Go to Window-> Preferences and observe the left panel
  3. TestNG is enlisted

For Installation details 3 visit the following site:


Way 2: TestNG can also 2 be installed in Eclipse by using Marketplace. Below 1 are the steps:

  1. Open eclipse
  2. Go to Help -> Eclipse Marketplace...
  3. Do search for TestNG (Type the text TestNG in Find text box > Click Go button)
  4. After searching: Click Install button at TestNG for Eclipse area
  5. Follow the further instructions by eclipse
Score: 2

Maybe you misspelled the URL of the update 1 site?

It's http://beust.com/eclipse

Score: 1

If you are trying to install from http://beust.com/eclipse and it 2 won't work, delete spaces in the string 1 :-)

Score: 1

To install TestNG in Eclipse, follow the 1 steps below :

  1. Go to 'Help'
  2. Click on 'Install New software'
  3. Click on 'Add'
  4. Enter Location - https://dl.bintray.com/testng-team/testng-eclipse-release/

enter image description here

enter image description here

  1. Click Next and Finish
  2. Restart Eclipse.
Score: 0

Copy the link http://beust.com/eclipse to notepad and copy from 2 notepad to eclipse IDE. It worked :) Looks 1 like using it as a hyperlink has issue.

More Related questions