【发布时间】:2019-08-26 12:05:10
【问题描述】:
我想知道是否可以让 TestNG 在其报告中显示嵌套测试或测试步骤之类的内容。
问题是我有相当大的集成测试用例,如果我可以在某些步骤上解耦它会很好,比如说,像 allure 的 @Step 注释。
目前,测试用例在 intellij IDEA 报告中显示为一个巨大的单独条目,其中包含大量日志,很难通过和分析。
【问题讨论】:
-
你可以去testng-extensions看看。例如,当使用 qaf 测试步骤功能时,QAF-dashboard 中显示的 stpe wise 详细报告。
标签: java testing automated-tests testng integration-testing