Java 诱惑-我想更改报表中@BeforeClass和@AfterClass方法的标题(我正在使用TestNG)
在每次测试之前,我都会使用Java 诱惑-我想更改报表中@BeforeClass和@AfterClass方法的标题(我正在使用TestNG),java,selenium,testng,allure,Java,Selenium,Testng,Allure,在每次测试之前,我都会使用@BeforeClass注释运行安装步骤。 当这些步骤失败时,我会在诱惑报告中看到课前标题。 如何将此标题更改为“安装”?摘自: 此外,您还可以使用@description annotation添加其他说明: @Description(“Test Description: Login test with wrong username and wrong password.”) 谢谢,我实际上需要@Title(“安装”)注释。 它完全符合我的需要 @Descriptio
@BeforeClass
注释运行安装步骤。
当这些步骤失败时,我会在诱惑报告中看到课前标题。
如何将此标题更改为“安装”?摘自:
此外,您还可以使用@description annotation添加其他说明:
@Description(“Test Description: Login test with wrong username and wrong password.”)
谢谢,我实际上需要
@Title(“安装”)
注释。
它完全符合我的需要
@Description(“Test Description: Login test with wrong username and wrong password.”)