Uploading test results from google test lib output
running tests with:
- cmd: tests.exe --gtest_output=xml:tests.xml
and using this in after_test:
- ps: (new-object net.webclient).UploadFile("https://ci.appveyor.com/api/testresults/xunit/$($env:APPVEYOR_JOB_ID)", (Resolve-Path .\tests.xml))
unfortunately nothing appears for the test results. Can someone help me with this?
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

1 Posted by martin.gerhardy on 30 Oct, 2015 10:09 PM
If this might be interesting: https://github.com/mgerhardy/caveexpress/blob/master/appveyor.yml
Support Staff 2 Posted by Feodor Fitsner on 31 Oct, 2015 11:58 PM
Could you please attach here an XML results you are trying to import? Thank you!
3 Posted by martin.gerhardy on 01 Nov, 2015 06:51 AM
Here we go.
Support Staff 4 Posted by Feodor Fitsner on 02 Nov, 2015 02:58 AM
Well, it looks more like jUnit format. Try importing it as
junit.5 Posted by martin.gerhardy on 02 Nov, 2015 09:44 AM
thanks a lot - this works now.
btw. junit is missing at http://www.appveyor.com/docs/running-tests#pushing-real-time-test-results-to-build-console
Support Staff 6 Posted by Feodor Fitsner on 02 Nov, 2015 07:58 PM
Cool!
junitparser has been added just recently. Docs are updated now.Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:01 AM.