几个月前,我做过类似的事情,结果证明这种简单的格式足以让哈德森接受它作为测试协议:
<testsuite tests="3"> <testcase classname="foo1" name="ASuccessfulTest"/> <testcase classname="foo2" name="AnotherSuccessfulTest"/> <testcase classname="foo3" name="AFailingTest"> <failure type="NotEnoughFoo"> details about failure </failure> </testcase></testsuite>



