如何在ReportNG Surefire报告中添加TestNG方法描述?

如何在ReportNG Surefire报告中添加TestNG方法描述?,testng,maven-surefire-plugin,reportng,Testng,Maven Surefire Plugin,Reportng,我的脚本中提供了如下方法描述: @测试(description=“Activity Note”,dependsOnMethods={“XZO720”}) 如何在我的Reporting Surefire报告中获取此方法描述?当前Reporting将测试描述作为工具提示,当您将鼠标悬停在测试名称上时显示(如中所示)。如果您想要一些不同的东西,您必须修改ReportNG的Velocity模板

我的脚本中提供了如下方法描述:

@测试(description=“Activity Note”,dependsOnMethods={“XZO720”})


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

当前Reporting将测试描述作为工具提示,当您将鼠标悬停在测试名称上时显示(如中所示)。如果您想要一些不同的东西,您必须修改ReportNG的Velocity模板