【问题标题】:How to add TestNG method descriptions in ReportNG Surefire reports?如何在 ReportNG Surefire 报告中添加 TestNG 方法描述?
【发布时间】:2014-01-14 06:09:01
【问题描述】:

我的脚本中提供了这样的方法描述:

@Test(description = "活动笔记", dependsOnMethods = {"XZO720"})

如何在我的 ReportNG Surefire 报告中获取此方法描述?

【问题讨论】:

    标签: testng maven-surefire-plugin reportng


    【解决方案1】:

    目前,ReportNG 包含测试说明作为工具提示,当您将鼠标悬停在测试名称上时会显示(如在this example report 中)。如果你想要不同的东西,你必须修改 ReportNG 的 Velocity 模板。

    【讨论】:

      猜你喜欢
      • 2013-11-28
      • 2013-01-20
      • 1970-01-01
      • 1970-01-01
      • 2012-03-31
      • 1970-01-01
      • 2012-12-24
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多