If an exception gets thrown as part of constructing a fixture, the Exception tag appears directly within TestSuite.
The schema defined by xunit-plugin only allows that at the TestCase level, which is wrong.
Which version of tools are you using? Could you attach the report file?
The bug is still present in HEAD.
https://github.com/jenkinsci/xunit-plugin/blob/cbc073cf75b398d278a159c5819970781c3ef12b/src/main/resources/org/jenkinsci/plugins/xunit/types/boosttest-1.5.0.xsd#L155
Clearly the choice here is missing a bunch of options?
I cannot freely share real testcases, but as I described it's trivial to produce one. <TestSuite name="foo"><Exception>FooException</Exception></TestSuite> should do I suppose?
Could you share the generated report? You can replae you company package/file path with other one (com.acme....)
I already gave an example above.
I have also done a pull request if that helps: https://github.com/jenkinsci/xunit-plugin/pull/83
You can create an ad hoc cpp test case to that produce the report like you have.
Mathias Gaunard: <TestSuite name="foo"><Exception>FooException</Exception></TestSuite> should do I suppose?
I would not suppose, Something generated by the tool is used to also map testsuite exception by XSLT