I installed TestNG into my eclipse editor from Eclipse market place, but it's showing "JUnit Test" instead of "TestNG" in "Run as" options.
Why my Eclipse not showing TestNG during execution?
CodePudding user response:
Go to file<JAVA Project<create any name for project name<click finish.
Go to New<Other<search for "TestNG" in wizard input field<click "TestNG class"<click "Next".
In Source Folder, click browse for src folder created in first step, click OK
In Package name input field, we can enter any name in the field.
In "Class Name" input field, we can enter any name in the field and click finish.