What is TestNG used for?
TestNG is an automation testing framework in which NG stands for “Next Generation”. It’s inspired by JUnit which uses the annotations (@). TestNG overcomes the disadvantages of JUnit and is designed to make end-to-end testing easy. It’s a 100% free and open source tool that makes writing tests fun.