TestNG information
TestNG overview
TestNG is a testing framework designed in the Java programming language. This testing framework is easily integrated with the Selenium WebDriver framework of Java and provides assertion libraries for automation testing.
Inspired by JUnit, the TestNG libraries consist of many annotations which helps the control flow of the testing script. Also, it provides the option for running testing suites by using the xml format code.
TestNG screenshot(s)
Pricing details
Pricing model for this product is Open sourceProduct Attributes
Pros
Multi-Threaded Test Supported
Flexible test configuration
Support for data-driven testing (@DataProvider annotation)
Powerful execution model (can run with or without Test Suite)
Supports Page Object Model for writing test scripts
Cons
TestNG is one of best testing framework, but it does not suppot BDD architecture for automation testing.
Product Features
- Seamless Integration with different testing framework
- Hierarchical Test Reporting
- Supports a variety of tools and IDEs (Eclipse, Maven, etc...)
- Parameterized Test Support
- Default JDK functions
Scenarios
- Next Generation Java Testing
- Run both, single test or Test Suite
- When assertions are required in the Test Script
References
https://testng.org/