Downloading TestNG

Current Release Version




dependencies {
    testCompile 'org.testng:testng:7.6.1'


TestNG automatically uploads snapshots to Sonatype which you can access by adding the following repository:
repositories {
    maven {
        url ''

Eclipse plug-in

Java 1.7+ is required for running the TestNG for Eclipse plugin.

Eclipse 4.2 and above is required. Eclipse 3.x is NOT supported any more, please update your Eclipse to 4.2 or above.

You can use either the Eclipse Marketplace or the update site:

Install via Eclipse Marketplace

Go to the TestNG page on the Eclipse Market Place and drag the icon called "Install" onto your workspace.

Install from update site

You can also install older versions of the plug-ins here. Note that the URL's on this page are update sites as well, not direct download links.

Build TestNG from source code

TestNG is also hosted on GitHub, where you can download the source and build the distribution yourself:

$ git clone git://
$ cd testng
$ ./gradlew build

You will then find the jar file in the testng/build/libs directory

Build the TestNG Eclipse Plugin from source code

TestNG Eclipse Plugin is hosted on GitHub, you can download the source code and build by ourself.