0
我正在使用蚂蚁在foreach循环中运行junits。 Using This Solution如何在使用ant运行时阻止来自junit的额外消息?
我得到的输出在我的控制台以下格式
[junit] Running com.test.MyUnitTest
[foreach] junit.framework.TestListener: startTest(testMyMethod)
[foreach] junit.framework.TestListener: endTest(testMyMethod)
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.109 sec
如何停止TestListener消息,以便输出格式为
[junit] Running com.test.MyUnitTest
[junit] Tests run: 7, Failures: 0, Errors: 0, Time elapsed: 0.109 sec