Maven
Gradle
Snapshots
TestNG automatically uploads snapshots to Sonatype which you can access by adding the following repository:
Eclipse plug-in
<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.10</version> <scope>test</scope> </dependency>
Gradle
repositories { jcenter() } dependencies { testCompile 'org.testng:testng:6.9.10' }
TestNG automatically uploads snapshots to Sonatype which you can access by adding the following repository:
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:
Install via Eclipse Marketplace
Install from update site
- Select Help / Install New Software...
- Enter the update site URL in "Work with:" field:
- Update site for release: http://beust.com/eclipse.
- Or, Update site for beta: http://testng.org/eclipse-beta , use it if you want to experiment with the new features or verify the bug fixes, and please report back if you encounter any issues.
- Make sure the check box next to URL is checked and click Next.
- Eclipse will then guide you through the process.
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://github.com/cbeust/testng.git $ cd testng $ ./build-with-gradle |
You will then find the jar file in the target directory
0 comments:
Post a Comment