JUnit Xml Format¶
Below is a sample test report in junit format. There is no DTD for junit, everyone just seems to comply with the report format. Apache Ant supplies xsl style sheets for transforming the xml file.
<?xml version="1.0"?> <testsuites> <testsuite name="Fossology Upload Functional Tests" timestamp="2011-07-04T23:14:29-06:00" hostname="localhost" tests="294" failures="0" errors="0" time="17.0175561905"> <testcase name="testOneShotgplv21" classname="OneShotgplv21Test" time="1.6280670166"/> <testcase name="testVerifyFossology" classname="verifyDirsOnly" time="2.10617995262"/> <testcase name="testVerifyFossology" classname="verify23D1F1L" time="2.68125081062"/> <testcase name="testVerifyFossl16L335" classname="verifyFossolyTest" time="2.56450390816"/> <testcase name="testBrowseUploaded" classname="browseUPloadedTest" time="1.71362090111"/> <testcase name="testZendLic" classname="zendTest" time="1.6258058548"/> <testcase name="testRHEL" classname="rhelTest" time="2.37193894386"/> <testcase name="test3filesCopyright" classname="verify3filesCopyright" time="2.31076908112"/> </testsuite> </testsuites>