aureliojargas / clitest

Command Line Tester
MIT License
143 stars 12 forks source link

Add jUnit XML report feature #5

Open elyezer opened 8 years ago

elyezer commented 8 years ago

Many test runners provide a way to generate a jUnit XML report from the test run. Some of them are py.test and nosetests, runners for python unittests.

jUnit XML are very useful in a CI environment like Jenkins since it is able to parse the XML and generate great visual report.

All that said, it should be very interesting to clitest have the ability of generating a jUnit XML report output, which will bring clitest to a next level for sure allowing it to be used on CI for documentations and also for actual CLI programs.

The schema definition for the jUnit XML report can be fount at [1].

[1] https://github.com/windyroad/JUnit-Schema/blob/master/JUnit.xsd

aureliojargas commented 8 years ago

Great idea :+1:

elyezer commented 8 years ago

:smile:

aureliojargas commented 4 years ago

Some references:

elyezer commented 4 years ago

This is what they use to validate the schema https://github.com/jenkinsci/xunit-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/xunit/types/model/xsd/junit-10.xsd