TestNG testing framework
Documentation available at TestNG's main web site. Visit TestNG Documentation's GitHub Repo to contribute to it.
TestNG requires Java 11 or higher to run. The library is compiled to target Java 11 bytecode, ensuring compatibility with Java 11+.
Note for contributors: Building TestNG from source requires JDK 21 or higher. See CONTRIBUTING.md for details.
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.
Before posting the issue, try to reproduce the issue in a shell window.
If the problem does not exist with the shell, first check if the issue exists on the bugtracker of the runner, and open an issue there first:
Always make sure your issue is happening on the latest TestNG version. Bug reports occurring on older versions will not be looked at quickly.
The best way to report a bug is to provide the TestNG team with a full test case reproducing the issue.
Maybe you can write a runnable test case (check the src/test/ folder for examples) and propose it in a pull request
Don't worry if the CI fails because it is the expected behavior.
This pull request will be a perfect start to find the fix :)
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.
Download the keys as shown below:
gpg --keyserver keyserver.ubuntu.com --recv-keys 0F13D5631D6AF36D
gpg: key 0F13D5631D6AF36D: "Krishnan Mahadevan (krmahadevan-key) <[email protected]>" not changed
gpg: Total number processed: 1
gpg: unchanged: 1Trust the keys as shown below:
….asc file from https://repo1.maven.org/maven2/org/testng/testng/<versionGoesHere>gpg --verify testng-<versionGoesHere>.jar.asc testng-<versionGoesHere>.jargpg: Signature made Tue Dec 26 15:06:16 2023 IST
gpg: using RSA key 0F13D5631D6AF36D
gpg: checking the trustdb
gpg: marginals needed: 3 completes needed: 1 trust model: pgp
gpg: depth: 0 valid: 1 signed: 0 trust: 0-, 0q, 0n, 0m, 0f, 1u
gpg: Good signature from "Krishnan Mahadevan (krmahadevan-key) <[email protected]>" [ultimate]For more details regarding keys please refer:
No open issues yet, or sync has not completed.