? QA Design Gurus: Integrating TestNG with Eclipse

May 8, 2016

Integrating TestNG with Eclipse


TestNG is a testing framework developed for JAVA programming language. The “NG” means for “Next Generation”. The goal of designing TestNG is to cover different types of testings like functional, unit, integration, end-to-end etc.
               There is a TestNG plug-in for eclipse, which allows us to run the tests from Eclipse and monitor the scripts execution easily.

Follow the below steps to integrate TestNG with Eclipse.

Step -1: Menu -> Help -> Install New Software


Step -2: "Install" wizard will open upon clicking "Install New Software". Now click on "Add" button in "Install" wizard.


Enter “TestNG” for “Name” field and for “Location” provide value as http://beust.com/eclipse
Click “OK” button.

Step – 3: Continue the installation by clicking “Next” button until finish the TestNG installation.

Once the installation is done, we can check installation is completed properly or not by following below steps:
  1. Open eclipse.
  2. Click on Menu -> New -> Project
  3. Expand "Java" under 'Show View" wizard, we get "TestNG".

Now, we can create TestNG project for writing the testcases.

Fore more information refer link http://testng.org 


No comments:

Post a Comment