xunit batch result uploads
Hi,
I'm having trouble with uploading xunit xml test results.
Sample 1 seems to give a 500 internal error. It was generated from a ctest converter tool so I'm not sure how accurate the schema is.
Sample 2 is from an actual xunit test. The server returns 200 OK but I don't see anything under the 'tests' tab:
https://ci.appveyor.com/project/tostercx/gd-libgd-259/build/1.0.85/tests
- xunit_sample1.xml 8.29 KB
- xunit_sample2.xml 442 Bytes
Comments are currently closed for this discussion. You can start a new one.
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by Feodor Fitsner on 19 Sep, 2014 12:43 AM
Will take a look what's wrong with the parser. Thanks for sample XMLs.
Support Staff 2 Posted by Feodor Fitsner on 22 Sep, 2014 11:39 PM
How these XML reports were generated? What version of xUnit is that?
Sample xUnit XML report could look like:
3 Posted by tostercx on 23 Sep, 2014 07:39 AM
Oh.. I had the xUnits mixed up. Sorry for the trouble.
The problem is I have a build script running with cmake / ctest. To import the results I found a tool that seemingly converts ctest xml to 'xUnit':
http://www.warp1337.com/content/how-use-ctest-jenkins-xunit-or-junit-plugin
Apparently there's a whole family of unit testing frameworks that go under this name... When searching for a sample to see how an xunit test result should look like I must have hit one of those (that's what's in sample 2).
I guess I'll have to make a converter myself.
Thanks for your time!
tostercx closed this discussion on 24 Sep, 2014 06:08 PM.