phphatesme / LiveTest

http://livetest.phphatesme.com
MIT License
26 stars 10 forks source link

JUnit Format does not work with Jenkins CI #133

Open mischka opened 12 years ago

mischka commented 12 years ago

In the JUnit-Format "LiveTest/src/LiveTest/Packages/Reporting/Format/JUnit.php" you add an empty child element to the junit.xml. xUnit don't like this, so delete this lines (44,45) from the class.

$xml_properties = $dom->createElement('properties');
$xml_testsuite->appendChild($xml_properties);
gruberro commented 12 years ago

You can also take a look at https://github.com/gruberro/LiveTest/commit/f7cdd0e74dc84db738fa32b2ae07db6a94ddccf5. This format is used by the xUnit plugin for Jenkins.