阅读背景:

从Ant运行参数化的Junit测试会抛出IllegalArgumentException

来源:互联网 

I'd like to run the JUnit tests in our project from the command line using an Ant target. Up until now we ran the tests manually from Eclipse without any issues using the embedded JUnit in Eclipse. After finally having figured out how the set the classpath I now get failed Tests for all classes that use the Parameterized Runner from JUnit 4.11. While running the test target (ant test) the only output is "FAILED" after the name of the Testclass, even with option -v. Generating testreports shows the following Exception:I'd like to run the JUnit tests in our project




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: