倾城2没有显示被忽视的测试

时间:2017-10-16 13:21:50

标签: allure

我正在使用allure2 + testng + gradle,我可以生成与此https://github.com/sskorol/allure2-testng-report类似的诱惑报告。问题是我看不到任何被TestNG测试忽略的东西。即我有2个测试:

@Test
@Story("Test 1")
public void test1() {

}


@Test(enabled = false)
@Story("Test 2")
public void test2() {

}

如何在魅力报告中显示Test2被忽略?

1 个答案:

答案 0 :(得分:0)

通过添加allure-testng-adapter

解决
相关问题