Step 1: Launch eclipse IDE -> Click on the Help option within the menu -> Select “Eclipse Marketplace..” option within the dropdown.
Step 2: Enter the keyword “TestNG” in the search textbox and click on “Go” button as shown below.
Step 3: As soon as the user clicks on the “Go” button, the results matching to the search string would be displayed. Now user can click on the Install button to install TestNG.
Step 4: As soon as the user clicks on the Install button, the user is prompted with a window to confirm the installation. Click on “Confirm” button.
Step 5: In the next step, the application would prompt you to accept the license and then click on the “Finish” button.
Step 6: The installation is initiated now and the progress can be seen as following:
We are advised to restart our eclipse so as to reflect the changes made.
Upon restart, user can verify the TestNG installation by navigating to “Preferences” from “Window” option in the menu bar. Refer the following figure for the same.