To create a new TestNG class, select the menu File / New / TestNG: NOTE: since TestNG Eclipse Plugin 6.9.8, the minimum required TestNG version is 6.5.1 2 - Creating a TestNG class
and you should see the TestNG view listed in the Java category. Once done, restart Eclipse and select the menu Window / Show View / Other.
It's recommended to install it if your Java project(s) are managed by Maven. NOTE: since TestNG Eclipse Plugin 6.9.10, there is a new optional plug-in for M2E (Maven Eclipse Plugin) integration. Table of Contents 1 - Installationģ.5 - Specifying listeners and other settingsįollow the instructions to install the plug-in.
It has its own project repository called testng-eclipse. The TestNG Eclipse plug-in allows you to run your TestNG tests from EclipseĪnd easily monitor their execution and their output.