![](/img/trans.png)
[英]Allure @Step does not appear in the allure report (Selenide TestNG Gradle Allure)
[英]Include TestNG @Before* steps to allure report
據我所知,默認情況下,Allure僅顯示所執行的步驟是@Test方法。
但是我的測試在@ BeforeSuite,@ BeforeClass,@ BeforeMethod等中執行了很多步驟。還有什么方法可以在誘惑報告中顯示這些步驟? 我了解,這些步驟涉及多個測試,那么如何正確完成呢? 我使用TestNg 6.9.8和Allure TestNg插件1.4。
魅力2支持@BeforeMethod
/ @AfterMethod
步驟。 對於其他注釋,這沒有任何意義,因為步驟僅屬於測試用例。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.