Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法只@Test在结果中包含数据,在我的情况下,我使用testng但在结果中我得到@beforeSuite, @BeforeMethod,@BeforeClass所有这些都包含在结果中作为测试。我只想包含@Test数据。
@Test
@beforeSuite
@BeforeMethod
@BeforeClass
实际上我们不需要这个功能,因为如果我们不想在结果中看到特定的注释,那么 UI 支持对这些注释进行过滤。