![]() Firstly, we need to get the maven dependency for TestNG and provide in pom.xml file of maven project.You might see an error icon, that is because we need to provide maven dependency for TestNG.Provide details as above and click finish.Select TestNG class and click on next to create a new class. ![]() You should see a new Folder “TestNG”, you can expand to see if it contains “TestNG Class”.Right click on com.tt.learning pacckage folder and navigate to New > Other.Now expand the com.tt.learning project in project explorer till src/test/java > com.tt.learning package folder appears.Once project is created, add testng maven dependency at pom.xml file.Create a new maven project ( assumption: maven plugin is already installed, i created with group id: com.tt.learning, artifact id: com.tt.learning ).Right click on package explorer view in Eclipse IDE. ![]() Verify if TestNG is installed successfully by creating a new class
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |