

We may right-click any method class or the TestNG suite file to check the run with the TestNG option.We will see the option to run as a TestNG test.Īlternatively, right-click the suite file to get the option to run as a TestNG Suite file as shown in the below screenshot.Īlternatively, we can install TestNG from the update site. We have done with the installation of the TestNG plug-in in eclipse. You would get an alert to restart the Eclipse at the end of the installation. The Eclipse will start installing the plugin when you click on the Finish button.Īfter install, you would need to restart the Eclipse. Read and Accept the license for the TestNG eclipse plugin. In the Eclipse marketplace search for TestNG and click on the Go button.Ĭlick the Install button for TestNG for Eclipse plug-in.Ĭheck all the features and click the Confirm> button. Choose the option Eclipse Marketplace option from the dropdown. We can install the TestNG plugin via Eclipse Marketplace. Wait for some time, then a dialog box will appear. Eclipse Marketplace Click on the Install button. If you don’t have TestNG installed you won’t get the option to run the tests with the TestNG option in Eclipse IDE. Follow the below steps to install TestNG from the Eclipse marketplace: Go to the Help menu in the Eclipse IDE and click on Eclipse Marketplace. Please follow the step-to-step screens in this tutorial to install it in Eclipse.

In this article, we will see how to install the TestNG plugin in Eclipse.
