未能像我所期望的那样打破我的安稿?
My continuous integration server runs an Ant script, which calls something like: /tests/ant run-tests
My JUnit tests run, but with errors: run-tests: [echo] run-tests-helper. [echo] Running tests ... [exec] [exec] com.zedray.stuff.FooBarTest:.... [exec] com.zedray.stuff.FooBarTest:.....INSTRUMENTATION_RESULT: shortMsg=Some error in your code. [exec] INSTRUMENTATION_RESULT: longMsg=java.security.InvalidParameterException: Some error in your code [exec] INSTRUMENTATION_CODE: 0
这些错误是科索沃的,但我的建筑文字仍在使用(甚至向我的测试者——坏!) 我期望的是,护堤将造成一个建筑错误,因此,我的连续一体化服务器(在此情况下的团队)认识到,有些事情已经错了,并且报告建筑中断。 “failonerror”已经列入相关的宏观标准,因此我无法确定我能做些什么?
/tests/build.xmlRunning tests ...
任何关于如何解决这一问题的想法/建议?
Regards Mark