Solved: Unable to Install TestNG in latest version of Eclipse IDE 2019-12? - Software Testing

Breaking code/>

Freshly Baked >>>

Tuesday, February 11, 2020

Solved: Unable to Install TestNG in latest version of Eclipse IDE 2019-12?

No TestNG in Eclipse Marketplace? Yes you heard it right. TestNG library is missing in latest versions of eclipse. Also we are unable to Install using Old URL: http://beust.com/eclipse/

Error:
HTTP Remote File Permanently Removed: http://beust.com/eclipse/content.xml
HTTP Remote File Permanently Removed: http://beust.com/eclipse/content.xml
HttpComponents connection error response code 410.
Here's how you can manually add the TestNG library to your Eclipse if facing any issue.

1. Go To Help from Elipse Menu
2. Click on Install New Software
3. Click on Add
4. Enter name in popup as TestNG
5. Enter URL as http://dl.bintray.com/testng-team/testng-eclipse-release/

Woohooo!!! There's TestNG. Simple tick the Check box and follow the Installation wizard to add TestNG in any Eclipse version.

Maven Dependency:

<repositories>
  <repository>
    <id>jcenter</id>
    <name>bintray</name>
    <url>http://jcenter.bintray.com</url>
  </repository>
</repositories>

<dependency>
  <groupId>org.testng</groupId>
  <artifactId>testng</artifactId>
  <version>6.10</version>
  <scope>test</scope>
</dependency>

Reference: Downloading TestNG for latest Eclipse: https://testng.org/doc/download.html 

Happy Testing :)

No comments:

Post a Comment

Thanks a lot for your valuable Comment!