testng
v7.10.2
TestNG 的主網站上提供了文件。請存取 TestNG 文件的 GitHub 儲存庫來為其做出貢獻。
在打開新問題之前,您是否在以下問題上提出問題:
如果您在兩個網站上都發帖,請提供另一個問題的鏈接,以避免重複答案。
在發布問題之前,請嘗試在 shell 視窗中重現問題。
如果 shell 不存在問題,請先檢查執行器的 bugtracker 上是否有問題,並先在那裡開啟問題:
始終確保您的問題發生在最新的 TestNG 版本上。舊版本上發生的錯誤報告不會被快速檢視。
報告錯誤的最佳方法是向 TestNG 團隊提供重現問題的完整測試案例。也許您可以編寫一個可運行的測試案例(檢查src/test/
資料夾中的範例)並在拉取請求中提出它。這個拉取請求將是尋找修復的完美開始:)
有關詳細步驟集,請參閱我們的貢獻部分。
如果您的拉取請求涉及修復 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]
有關密鑰的更多詳細信息,請參閱: