TestNG is a testing framework
inspired from JUnit and NUnit but introducing some new functionality that makes
it more powerful and easier to use.
It is an open-source
automated testing framework. TestNG is similar to JUnit.
It is designed to be better than JUnit, especially when testing integrate classes.
TestNG eliminates most limitations of the older framework and gives the developer the ability to write more flexible and powerful tests with help of Easy Annotations, Grouping, Sequencing, Parameterizing.
Benefits of TestNG in terms of Selenium
testing are:
·
It gives the ability to produce HTML
Reports of execution
·
Annotations made testers life easy
·
Test cases can be Grouped &
Prioritized more easily
·
Parallel testing is possible
·
Generates Logs
·
Data Parameterization is possible