Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
T

testng

> 测试质量
Open source

TestNG testing framework

2.1K stars0 likes0 views
WebsiteGitHub

About

TestNG testing framework

Documentation available at TestNG's main web site. Visit TestNG Documentation's GitHub Repo to contribute to it.

Requirements

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.

Release Notes

  • 7.12.0
  • 7.11.0
  • 7.10.0
  • 7.9.0
  • 7.8.0
  • 7.7.0
  • 7.6.0
  • 7.5
  • 7.4.0
  • 7.3.0
  • 7.1.0
  • 7.0.0

Need help?

Before opening a new issue, did you ask your question on

  • Google group
  • StackOverflow

If you posted on both sites, please provide the link to the other question to avoid duplicating the answer.

Are you sure it is a TestNG bug?

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:

  • Eclipse :Issues Page
  • IntelliJ:Issues Page
  • Maven :Issues Page
  • Gradle :Issues Page

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.

Have you considered sending a pull request instead of filing an issue?

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 :)

How to create a pull request?

Refer our Contributing section for detailed set of steps.

We encourage pull requests that:

  • Add new features to TestNG (or)
  • Fix bugs in TestNG

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.

GPG Keys

Getting the keys

Download the keys as shown below:

bash
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: 1

Trusting the keys

Trust the keys as shown below:

…

Verifying the signature

  1. Download the .asc file from https://repo1.maven.org/maven2/org/testng/testng/<versionGoesHere>
  2. Run the command gpg --verify testng-<versionGoesHere>.jar.asc testng-<versionGoesHere>.jar
  3. You should see an output as below:
bash
gpg: 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:

  • Verifying Signature
  • How to Trust Imported GPG Keys

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Javajavajvmtestingtestng

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.