testng
v7.10.2
TestNG 的主网站上提供了文档。请访问 TestNG 文档的 GitHub 存储库来为其做出贡献。
在打开新问题之前,您是否在以下问题上提出过问题:
如果您在两个网站上都发帖,请提供另一个问题的链接,以避免重复答案。
在发布问题之前,请尝试在 shell 窗口中重现该问题。
如果 shell 不存在问题,请首先检查运行器的 bugtracker 上是否存在问题,并先在那里打开问题:
始终确保您的问题发生在最新的 TestNG 版本上。旧版本上发生的错误报告不会被快速查看。
报告错误的最佳方法是向 TestNG 团队提供重现问题的完整测试用例。也许您可以编写一个可运行的测试用例(检查src/test/
文件夹中的示例)并在拉取请求中提出它。不要担心 CI 是否失败,因为这是预期的行为。这个拉取请求将是寻找修复的完美开始:)
有关详细步骤集,请参阅我们的贡献部分。
如果您的拉取请求涉及修复 SonarQube 问题,那么我们建议您在花时间处理之前与 TestNG 开发人员讨论此问题。
下载密钥如下图所示:
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
信任密钥,如下所示:
gpg --edit-key 0F13D5631D6AF36D
gpg (GnuPG) 2.4.4 ; Copyright (C) 2024 g10 Code GmbH
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Secret key is available.
sec rsa2048/0F13D5631D6AF36D
created: 2016-12-01 expires: never usage: SC
trust: full validity: unknown
ssb rsa2048/7295B61CC8DD9AE8
created: 2016-12-01 expires: never usage: E
[ unknown] (1). Krishnan Mahadevan (krmahadevan-key) < [email protected] >
gpg > trust
sec rsa2048/0F13D5631D6AF36D
created: 2016-12-01 expires: never usage: SC
trust: full validity: unknown
ssb rsa2048/7295B61CC8DD9AE8
created: 2016-12-01 expires: never usage: E
[ unknown] (1). Krishnan Mahadevan (krmahadevan-key) < [email protected] >
Please decide how far you trust this user to correctly verify other users ' keys
(by looking at passports, checking fingerprints from different sources, etc.)
1 = I don ' t know or won ' t say
2 = I do NOT trust
3 = I trust marginally
4 = I trust fully
5 = I trust ultimately
m = back to the main menu
Your decision? 5
Do you really want to set this key to ultimate trust? (y/N) y
sec rsa2048/0F13D5631D6AF36D
created: 2016-12-01 expires: never usage: SC
trust: ultimate validity: unknown
ssb rsa2048/7295B61CC8DD9AE8
created: 2016-12-01 expires: never usage: E
[ unknown] (1). Krishnan Mahadevan (krmahadevan-key) <[email protected]>
Please note that the shown key validity is not necessarily correct
unless you restart the program.
gpg> exit
Invalid command (try "help")
gpg> quit
https://repo1.maven.org/maven2/org/testng/testng/<versionGoesHere>
下载.asc
文件gpg --verify testng-<versionGoesHere>.jar.asc testng-<versionGoesHere>.jar
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]
有关密钥的更多详细信息,请参阅: