标签: spring testing junit
即使抛出AssertErrors,此测试也会通过:
@RunWith(SpringJUnit4ClassRunner.class) public class MatrixTests { @Test @Repeat(10) public void testMulti() { // there are AssertErrors thrown here } }
如果其中一次迭代失败,如何使测试失败?