【发布时间】:2017-11-07 14:50:19
【问题描述】:
我想为 TestNG xml 测试结果实现自定义报告器。 我目前使用 JUnitReportReporter。 我的结果 xml 目前看起来像这样:
testcase name="testSearchForProductAndVerifyFirstFoundItem" time="55.516" classname="com.jpard.jaf.test.SearchForAnItemTests"
我只是想用测试描述替换测试用例名称 如@Test(description = "测试结果中的第一个项目是搜索的项目")。 我怎样才能以最简单的方式做到这一点。 非常感谢!
【问题讨论】:
标签: xml testng test-reporting test-results