Installation of TestNG on Eclispse IDE (original) (raw)

Last Updated : 12 Jan, 2026

We will be installing TestNG as a plug-in for Eclipse, for you to have Eclipse installed on your device. You can download and install it from their official site by clicking the Eclipse Official Page. Once Eclipse is installed, you can proceed to the next steps.

TestNG can be installed in two ways:

  1. Using the Eclipse marketplace.
  2. Using Maven to Add TestNG as a Dependency

**1. Go to Eclipse Marketplace

Follow the steps below to install TestNG from the Eclipse marketplace:

Screenshot-2026-01-12-114716

Screenshot-2026-01-12-115004

**2. Using Maven to Add TestNG as a Dependency

To add TestNG as a dependency in your Maven project, you can include the following in your pom.xml file:

XML `

org.testng testng 7.7.0 test

`

Save the pom.xml file after adding the TestNG dependency. Maven will automatically download the required TestNG JARs from the repository.

We successfully installed TestNG on Eclipse IDE with TestNG integrated into Eclipse, you can easily create, run, and manage your test cases.