<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>
repositories {
jcenter()
}
dependencies {
testCompile 'org.testng:testng:6.10'
}
repositories {
maven {
url 'https://oss.sonatype.org/content/repositories/snapshots'
}
}
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:
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.
TestNG is also hosted on GitHub, where you can download the source and build the distribution yourself:
$ git clone git://github.com/cbeust/testng.git $ cd testng $ ./build-with-gradle
You will then find the jar file in the target directory
TestNG Eclipse Plugin is hosted on GitHub, you can download the source code and build by ourself.