vbulletin1
New Member
We are currently running jUnit based tests, which spits out a custom xml file for the functional testing of our software components, witch contains all test cases, all test points within these test cases, the tested requirements and the result. These files are then check in to our version control system, hence keeping track, over time, of all this information. Its looks something like this:\[code\]<?xml version="1.0" encoding="UTF-8"><testsession time="1371121541654" name="Some module functional test"><testcase id="t_somemodule_startstop" name="Start / Stop of module" result="fail" time="13711215416345" testsuite="module specific"> <testpoints> <preparation id="t_somemodule_startstop_p1" name="Make sure module is in NORMAL mode" result="ok"/> <action id="t_ somemodule_startstop_a1" name="Attempt starting the module" result="ok"/> <response id="t_somemodule_startstop_r1" name="Within four seconds, the module should start" result="ok">Got status STARTED after 254ms</response> <action id="t_ somemodule_startstop_a2" name="Poll module for status" result="ok"/> <response id="t_ somemodule_startstop_r2" name="The module should have status OK" result="fail">Module status was NOT_OK</response> <action id="t_ somemodule_startstop_a3" name="Do some other thing" result="not run"/> <response id="t_ somemodule_startstop_r3" name="Verify some other thing" result=" not run"/> </testpoints> <requirements> <requirement id=" somemodule_startstop_d1" name="Module startup time">All module must start within 4000 ms</requirement> <requirement id="somemodule_startstop_d2" name="Module status on poll">All modules must have status OK when polled</requirement> </requirements> </testcase></testsession>\[/code\]However, it might be beneficial to use an open standard, to make these files compatible with other tools.We run our tests on a Jenkins server, which are also generating shurefire reports, which is roughly equivilant to the information outputed from the xUnit test. This contain the result of the test, but do not specify the test case it self, or the requirement you are testing-So what I am looking for is not the testing tools per se, but a format for describing the tests, in XML.