- Will be ready to use JUNIT feature in different automation project
- Will be ready to use TestNG feature in different automation project
JUnit is a unit testing framework for the Java programming language. JUnit has been important in the development of test-driven development^ and is one of a family of unit testing frameworks which is collectively known as xUnit that originated with SUnit.
TestNG is an automation testing framework in which NG stands for Next Generation . TestNG is inspired from JUnit which uses the annotations (@). TestNG overcomes the disadvantages of JUnit and is designed to make end-to-end testing easy.
Using TestNG^ you can generate a proper report^ and you can easily come to know how many test cases are passed^ failed^ and skipped. You can execute the failed test cases separately.