Laloo
Laloo

Reputation: 71

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.

Upvotes: 6

Views: 73636

Answers (5)

Ripon Al Wasim
Ripon Al Wasim

Reputation: 37756

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

Upvotes: 13

Cinra
Cinra

Reputation: 33

To install TestNG in Eclipse, follow the 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.

Upvotes: 1

Giri
Giri

Reputation: 411

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

Upvotes: 0

Gangnus
Gangnus

Reputation: 24464

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

Upvotes: 1

Cedric Beust
Cedric Beust

Reputation: 15608

Maybe you misspelled the URL of the update site?

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

Upvotes: 2

Related Questions