1<html> 2 <head> 3 <title>TestNG - Download Current Release and Beta Versions</title> 4 5 <link rel="stylesheet" href="testng.css" type="text/css" /> 6 <link type="text/css" rel="stylesheet" href="http://beust.com/beust.css" /> 7 <script type="text/javascript" src="banner.js"></script> 8 9 <script type="text/javascript" src="http://beust.com/scripts/shCore.js"></script> 10 <script type="text/javascript" src="http://beust.com/scripts/shBrushJava.js"></script> 11 <script type="text/javascript" src="http://beust.com/scripts/shBrushXml.js"></script> 12 <script type="text/javascript" src="http://beust.com/scripts/shBrushBash.js"></script> 13 <script type="text/javascript" src="http://beust.com/scripts/shBrushPlain.js"></script> 14 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shCore.css"/> 15 <link type="text/css" rel="stylesheet" href="http://beust.com/styles/shThemeCedric.css"/> 16 <script type="text/javascript"> 17 SyntaxHighlighter.config.clipboardSwf = 'scripts/clipboard.swf'; 18 SyntaxHighlighter.defaults['gutter'] = false; 19 SyntaxHighlighter.all(); 20 </script> 21 <script type="text/javascript" src="http://beust.com/toc.js"></script> 22 23 <style type="text/css"> 24 /* Set the command-line table option column width. */ 25 #command-line colgroup.option { 26 width: 7em; 27 } 28 </style 29 </head> 30<body onload="prettyPrint()"> 31 32<script type="text/javascript"> 33 displayMenu("download.html") 34</script> 35 36 37<h2 align="center">Downloading TestNG</h2> 38 39<h3>Current Release Version</h3> 40 41<h4>Maven</h4> 42 43<pre class="brush: xml"> 44 <repositories> 45 <repository> 46 <id>central</id> 47 <name>bintray</name> 48 <url>http://jcenter.bintray.com</url> 49 </repository> 50 </repositories> 51 52 <dependency> 53 <groupId>org.testng</groupId> 54 <artifactId>testng</artifactId> 55 <version>6.9.4</version> 56 <scope>test</scope> 57 </dependency> 58</pre> 59 60<h4>Gradle</h4> 61 62<pre class="brush: java"> 63repositories { 64 jcenter() 65} 66 67dependencies { 68 testCompile 'org.testng:testng:6.9.4' 69} 70</pre> 71 72<h3>Snapshots</h3> 73 74TestNG <a href="https://oss.sonatype.org/content/repositories/snapshots/org/testng/testng/">automatically uploads snapshots to Sonatype</a> which you can access by adding the following repository: 75 76<pre class="brush: java"> 77repositories { 78 maven { 79 url 'https://oss.sonatype.org/content/repositories/snapshots' 80 } 81} 82</pre> 83 84<h3>Eclipse plug-in</h3> 85<p>You can use either the Eclipse Market Place or the update site:</p> 86<ul> 87 <li>Select<i> Help / Install new software.</i> 88 </li> 89 <li><i>Search for new features to install.</i> 90 </li> 91 <li><i>New remote site.</i> 92 </li> 93 <li>For Eclipse 3.4 and above, enter <a href="http://beust.com/eclipse">http://beust.com/eclipse</a>. 94 <li>For Eclipse 3.3 and below, enter <a href="http://beust.com/eclipse1">http://beust.com/eclipse1</a>. 95 </li> 96 <li>Make sure the check box next to URL is checked and click <i>Next</i>. 97 </li> 98 <li>Eclipse will then guide you through the process. </li> 99</ul> 100 101<p>You can also install older versions of the plug-ins <a href="http://beust.com/eclipse-old">here</a>. Note that the URL's on this page are update sites as well, not direct download links. 102 103<p>TestNG is also <a href="http://github.com/cbeust/testng">hosted on GitHub</a>, where you can download the source and build the distribution yourself: 104 105<pre class="brush: plain"> 106$ git clone git://github.com/cbeust/testng.git 107$ cd testng 108$ mvn package 109</pre> 110 111<p>You will then find the jar file in the <tt>target</tt> directory</p> 112 113<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> 114</script> 115<script type="text/javascript"> 116_uacct = "UA-238215-2"; 117urchinTracker(); 118</script> 119 120 121</body> 122 123</html> 124