Skip to content
EntityQ4385601· pop 10· linked from 17 articles

TestNG is a testing framework for the Java programming language created by Cédric Beust and inspired by JUnit and NUnit. The design goal of TestNG is to cover a wider range of test categories: unit, functional, end-to-end, integration, etc., with more powerful and easy-to-use functionalities.

Key facts

Software.name
TestNG
Software.developer
Cédric Beust, the TestNG team
Software.latest release version
7.11
Software.latest release date
[https://github.com/cbeust/testng/releases
Software.programming language
Java
Software.operating system
Cross-platform
Software.genre
Unit testing tool
Software.license
Apache License 2.0

via Wikipedia infobox

Source code

Documentation available at TestNG's main web site. Visit TestNG Documentation's GitHub Repo to contribute to it. Note for contributors: Building TestNG from source requires JDK 21 or higher. See CONTRIBUTING.md for details. Need help? Before opening a new issue, did you ask your question on If you posted on both sites, please provide the link to the other question to avoid duplicating the answer. Which version are you using? Always make sure your issue is happening on the latest TestNG version. Bug reports occurring on older versions will not be looked at quickly. How to create a pull request? Refer our Contributing section for detailed set of steps. If your pull request involves fixing SonarQube issues then we would suggest that you please discuss this with the TestNG-dev before you spend time working on it. 1. Download the .asc file from 2. Run the command gpg --verify testng- .jar.asc testng- .jar 3. You should see an output as below:

Excerpt from the source-code README · 6,979 chars · not written by Vinony

Wikidata facts

Official website
testng.org
Show 3 more facts
software version identifier
7.12.0
source code repository URL
github.com/testng-team/testng
Sources (5)

via Wikidata · CC0

~6 min read

Article

11 sections
Contents
  • Features
  • Data provider
  • Tool support
  • Reporting
  • Comparison with JUnit
  • Annotations
  • Parameterized testing
  • Conclusion
  • See also
  • References
  • External links

TestNG is a testing framework for the Java programming language created by Cédric Beust and inspired by JUnit and NUnit. The design goal of TestNG is to cover a wider range of test categories: unit, functional, end-to-end, integration, etc., with more powerful and easy-to-use functionalities.

== Features == TestNG's main features include: Annotation support. Support for data-driven/parameterized testing (with @DataProvider and/or XML configuration). Support for multiple instances of the same test class (with @Factory) Flexible execution model. TestNG can be run either by Ant via build.xml (with or without a test suite defined), or by an IDE plugin with visual results. There isn't a TestSuite class, while test suites, groups and tests selected to run are defined and configured by XML files. Concurrent testing: run tests in arbitrarily big thread pools with various policies available (all methods in their own thread, one thread per test class, etc.), and test whether the code is multithread safe. Embeds BeanShell for further flexibility. Default JDK functions for runtime and logging (no dependencies). Dependent methods for application server testing. Distributed testing: allows distribution of tests on slave machines.

Available in 10 languages

via Wikidata sitelinks · CC0

Connections

Categories