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 :)

Comments

  1. Hiii Ishan Dev Shukl Sir

    Will this Work On Eclipse Oxygen 2017 IDE or i will update New version of Eclipse ?

    ReplyDelete
  2. Thanks a ton bro. I was stuck with this issue from last two days. Thanks ..!!

    ReplyDelete
  3. Thank you big time dude! That was spinning up my anger!

    ReplyDelete
  4. great .Thanks much,worked for me!!

    ReplyDelete
  5. Thanks Ishan. This was a timely help.

    ReplyDelete
  6. Thanks Ishan, it was a timely help.

    ReplyDelete
  7. Thanks for update ,its worked.

    ReplyDelete

Post a Comment

Thanks a lot for your valuable Comment!