How do I get TestNG library in Eclipse?
- Simple Java Project : Download testng.jar file from https://mvnrepository.com/artifact/org.testng/testng/7.5. Right Click the Java Project ,Click BuildPath->Configure Build path. Navigate to libraries tab.Under Class path , Click Add External Librabry ,search the downloaded jar file and Click Apply.
2.For Maven Project , add testNG dependency from https://mvnrepository.com/artifact/org.testng/testng/7.5 in mavne pom.xml file.