<repositories> <repository> <id>central</id> <name>bintray</name> <url>http://jcenter.bintray.com</url> </repository> </repositories> <dependency> <groupId>org.testng</groupId> <artifactId>testng</artifactId> <version>6.9.4</version> <scope>test</scope> </dependency>
repositories { jcenter() } dependencies { testCompile 'org.testng:testng:6.9.4' }
repositories { maven { url 'https://oss.sonatype.org/content/repositories/snapshots' } }
You can use either the Eclipse Market Place 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 $ mvn package
You will then find the jar file in the target directory