Method 1:. The latest version of TestNG can be downloaded from Maven Central.
For the Eclipse plugin, 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 later, enter http://beust.com/eclipse .
For Eclipse 3.3 and below, enter http://beust.com/eclipse1 .
Make sure the box next to the URL is checked, and click Next.
Then Eclipse will guide you through this process.
After installation, follow these steps:
1. Restart eclipse
2. Go to window-> Settings and watch the left panel 3. TestNG ends.
For more information about installation, see the following site:
http://testng.org/doc/download.html
Method 2: TestNG can also be installed in Eclipse using the Marketplace. Following are the steps:
- Open eclipse
- Go to Help → Eclipse Marketplace ...
- Locate TestNG (type TestNG in the Search>> Click Go button).
- After the search: click the "Install" button in TestNG for the Eclipse area.
- Follow further eclipse instructions
source share