About Jenkins JUnit XML Format

Viewed 28931

I'm working on a script that generates test results in JUnit XML format that Jenkins accepts.

I read through some answers in StackOverFlow about this topic: JUnit XML format specification that Hudson supports and Spec. for JUnit XML Output but none of these talks about the detail of the "testsuites" attributes or options.

I want to show the total number of "testcase", total number of failed "testcase" and total number of skipped "testcase" from all the "testsuite" under the "testsuites".

ie <testsuites *something to add here to include the info demanded*>...</testsuites>

Is there a way to achieve that?

Any help will be greatly appreciated!

4 Answers
Related