Environment:Jenkins 1.653, Linux
For passing the test duration time to xUnit, it needs to be as an attribute of the <test> tag like this:
It would be nice to alternatively allow to pass this information in a <time> tag like this:
(It's a bit similar to qt xml format, which uses something like `<Duration msecs="13"/>`; seen here: https://github.com/jenkinsci/xunit-plugin/blob/master/src/test/resources/org/jenkinsci/plugins/xunit/types/qtestlib/testcase2/input.xml)
The reason for this improvement request is as follows: I use Unittest++ and Jenkins / xUnit for unit testing on very resource limited bare-metal microcontroller systems. These target systems especially have very low amount of RAM.
As long as I have to pass the test duration time as attribute of the <test> tag, I have to store all the <system-out> and <failure> output / content into RAM until the test is finished; but this is quite impossible for some test cases.
If I became able to pass the test duration time into a <time> tag, then I just can stream out all the <system-out> and <failure> output /content (typically via RS232) without the need of so much RAM and at the end of the test I stream out the <time> tag.