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.
由于我的 1-2 个测试用例从一堆测试用例中失败,并且发现很难再次为这两个测试套件执行整个测试套件,是否有任何方法不向其他测试用例添加注释或将这两种方法复制到不同的套件中。
提前感谢大家
对于您不想运行的测试,请添加@Ignore注释。例如:
@Ignore
@Ignore @Test public void testLala() { ... }