Posted On: Apr 06, 2020
Parameterized testing is an exciting feature with the TestNG which lets you run the same test over and over again with different values. The values to the tests are passed as parameters in two different ways such as with testng.xml, and data providers.
The first way uses the testng.xml configuration file to define simple parameters and reference them in the source files.
In a second way, you can use the Data provider annotation to pass complex parameters.
Never Miss an Articles from us.
TestNG is a testing framework written in Java to cover a wide array of test categories like unit testing, functional testing, end-to-end test, integration test, etc. It is inspired from JUnit and NUni...
Some of the important features of TestNG framework are,Support for Annotation. Support for data-driven-testing and parameters. Support for multiple instances in the same test class. Has a good ...
The full form of TestNG is Test Next Generation....