Two Ways To Install TestNG in Eclipse/STS
Today I install the newest Sprint Tool Suite and want to install TestNG by using Makrketplace, but i cannot search it out. Then I find that there are two ways to install TestNG, the first way works for me.
Way 1: The latest version of TestNG can be downloaded from Maven Central.
For the Eclipse plug-in, we suggest using the update site:
Select Help / Software updates / Find and Install.
Search for new features to install.
New remote site.
For Eclipse 3.4 and above, enter http://beust.com/eclipse.
For Eclipse 3.3 and below, enter http://beust.com/eclipse1.
Make sure the check box next to URL is checked and click Next.
Eclipse will then guide you through the process.
After installation follow the steps below:
Restart eclipse
Go to Window-> Preferences and observe the left panel
TestNG is enlisted
For Installation details visit the following site:
http://testng.org/doc/download.html
Way 2: TestNG can also be installed in Eclipse by using Marketplace. Below are the steps:
Open eclipse
Go to Help -> Eclipse Marketplace...
Do search for TestNG (Type the text TestNG in Find text box > Click Go button)
After searching: Click Install button at TestNG for Eclipse area
Follow the further instructions by eclipse.