TestNG Documentation | Website analytics by TrustRadar
Blurry colored background
testng.org Software Testing Automation Java Framework

TestNG Documentation

TestNG user documentation

TestNG is a testing framework inspired from JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use. It is designed to cover all categories of tests: unit, functional, end-to-end, integration, etc. TestNG is an open-source automated test framework; where NG stands for 'Next Generation'. TestNG is similar to JUnit but it is not a JUnit extension. It is inspired by JUnit. It is designed to be better than JUnit, especially when testing integrated classes.

Unique Visits

0

0 / day

Total Views

0

0 / day

Visit Duration, avg.

0 min

0 pages per visit

Bounce Rate

0%

  • Domain Rating

  • Domain Authority

  • Citation Level

Founded in

2004

Supported Languages

English, etc

Website Key Features

Annotations

TestNG uses annotations to help define the flow of how the test methods are executed.

Flexible test configuration

Allows for the configuration of test methods, test classes, and test suites in a very flexible manner.

Support for data-driven testing

TestNG supports data-driven testing with the help of the @DataProvider annotation.

Parallel execution

TestNG allows for the parallel execution of tests, which can significantly reduce the time it takes to run tests.

Dependency testing

TestNG allows you to specify dependencies between test methods, so that certain tests will only run if others have succeeded.

Grouping of test methods

Test methods can be grouped together, allowing for more organized and manageable test suites.

Support for multiple instances

TestNG can run multiple instances of a test class in parallel, each with its own set of data.

Detailed HTML reports

TestNG generates detailed HTML reports that provide a comprehensive overview of the test execution.

Integration with tools

TestNG can be easily integrated with tools like Maven, Ant, and Eclipse.

Listener support

TestNG supports listeners, which can be used to customize the test execution process.

Additional information

Creator

Cedric Beust

License

Apache License 2.0

Latest Version

7.4.0 (as of the last update)

Repository

https://github.com/cbeust/testng

Documentation

Extensive documentation is available on the official website, covering all aspects of the framework.

Community

TestNG has a large and active community, with many resources available for learning and troubleshooting.

Compatibility

TestNG is compatible with Java 7 and above.

HTTP headers

Security headers report is a very important part of user data protection. Learn more about http headers for testng.org