How to install TestNG plugin for Eclipse

I tried to install the testng plugin for a long time, but eclipse shows an error as shown below:

"No repository found as the location". 

I also tried to download and install the plug-in, but the same error appears.

+4
source share
4 answers

Method 1:. The latest version of TestNG can be downloaded from Maven Central.

For the Eclipse plugin, we suggest using the update site:

Select Help / Software Updates / Find and Install.
Search for new features to install.
New remote site.
For Eclipse 3.4 and later, enter http://beust.com/eclipse .
For Eclipse 3.3 and below, enter http://beust.com/eclipse1 .
Make sure the box next to the URL is checked, and click Next.
Then Eclipse will guide you through this process.

After installation, follow these steps:
1. Restart eclipse
2. Go to window-> Settings and watch the left panel 3. TestNG ends.

For more information about installation, see the following site:

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

Method 2: TestNG can also be installed in Eclipse using the Marketplace. Following are the steps:

  • Open eclipse
  • Go to Help → Eclipse Marketplace ...
  • Locate TestNG (type TestNG in the Search>> Click Go button).
  • After the search: click the "Install" button in TestNG for the Eclipse area.
  • Follow further eclipse instructions
+9
source

Did you type the URL of the update site?

This is http://beust.com/eclipse

+2
source

If you are trying to install from http://beust.com/eclipse and this does not work, remove the spaces in the line :-)

+1
source

Copy the http://beust.com/eclipse link to notepad and copy from notepad to the Eclipse IDE. It worked :) It seems like using this as the problem with the hyperlink has problems.

0
source

Source: https://habr.com/ru/post/1342782/


All Articles