Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to install TestNG plug-in for Eclipse

I tried installing the testng plug-in for long time but eclipse is showing an error as below:

"No repository found as the location". 

I have also tried to download and install the plug-in but the same error pops up.

like image 729
Laloo Avatar asked Mar 08 '11 09:03

Laloo


2 Answers

Way 1: For the Eclipse plug-in, we suggest using 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

http://dl.bintray.com/testng-team/testng-eclipse-release/

  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 the steps below:

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

For Installation details visit the following site:

http://testng.org/doc/download.html

Way 2: TestNG can also be installed in Eclipse by using Marketplace. Below 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
like image 69
Ripon Al Wasim Avatar answered Nov 03 '22 22:11

Ripon Al Wasim


Maybe you misspelled the URL of the update site?

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

like image 44
Cedric Beust Avatar answered Nov 03 '22 22:11

Cedric Beust