test results from the API
I see the test summary information in the API. Is there an API to get the details of the test cases? Or if I want this should I just upload the result files as artifacts?
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 05 May, 2015 05:33 PM
What unit testing framework is that?
2 Posted by travis on 05 May, 2015 10:13 PM
We use pester, but it generates NUnit test xml files
Support Staff 3 Posted by Feodor Fitsner on 05 May, 2015 10:27 PM
You can upload Pester results. Take a look at this thread: http://help.appveyor.com/discussions/problems/743-when-custom-script-uploads-test-output-it-only-shows-in-artifacts-and-not-on-the-tests-like-one-would-expect
- Feodor
4 Posted by travis on 05 May, 2015 10:30 PM
The issue is not uploading them. I want to get them back out. For example to see how often testcase123 fails. Is there something in this API I can use: http://www.appveyor.com/docs/api
Or do I need to upload them as an artifact, and consume them that way?
Support Staff 5 Posted by Feodor Fitsner on 05 May, 2015 10:34 PM
Oh, I see. Yes you should use REST API. Maybe it's not covered in docs yet but you can open test results page and grab API request URL from browser developer tools.
- Feodor
6 Posted by travis on 05 May, 2015 10:50 PM
Thanks,
https://ci.appveyor.com/api/buildjobs/{jobId}/tests
appears to be the call. I'll try it later
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:56 AM.