![](/img/trans.png)
[英]Maven/TestNG/Selenium - Can I set up multiple tests suites in one testng.xml and run different ones at different times?
[英]Can I run all the TestNG tests that do not belong to any group (in Maven)?
或者在替代配方中:
如果沒有指定組,TestNG中的測試是否分配給默認組,如果是,則該默認組的名稱是什么? (是的,我看過這篇文章 )。
我想只為TestNG測試指定一個組,如果它是一個特殊的(集成,功能,探索,非常慢)測試。 我想讓單元測試保持清晰的注釋。 但我希望能夠只運行單元測試,而無需為所有其他組明確設置excludedGroups
(可能會添加新的..)。
根據JIRA, TESTNG-160 ,嘗試:
exclude="*"'
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.