When custom script uploads test output, it only shows in artifacts and not on the tests like one would expect (Pester)

ferventcoder's Avatar


03 Sep, 2014 03:21 PM

Based on http://www.appveyor.com/docs/running-tests :

Uploading XML test results

Testing frameworks can produce XML report with test results. Upload these XML files from your build script to Test results endpoint and they will be parsed and test results added to Tests tab of build console.

But when I upload my test results, you can see that it adds the xml to the artifacts, but there are no tests parsed.


Pester outputs xml compliant with NUnit, so I selected the nunit parser for upload, but I have no visibility into why it is failing to parse the output.

Perhaps it could be something key is missing for the nunit output from pester to be correctly parsed, but this works in TeamCity NUnit parser, so it's expected that it would also work here.

  1. Support Staff 1 Posted by Feodor Fitsner on 03 Sep, 2014 03:31 PM

    Feodor Fitsner's Avatar

    Will take a look what's wrong.


  2. 2 Posted by ferventcoder on 03 Sep, 2014 04:01 PM

    ferventcoder's Avatar

    Much appreciated.

  3. Support Staff 3 Posted by Feodor Fitsner on 03 Sep, 2014 05:56 PM

    Feodor Fitsner's Avatar

    OK, found the problem.

    Parser expects test-suite element with type="Assembly" attribute while pester's output has type="Powershell". It's been fixed. Will deploy an update later today.

  4. Support Staff 4 Posted by Feodor Fitsner on 04 Sep, 2014 03:58 AM

    Feodor Fitsner's Avatar

    AppVeyor update deployed. Uploading Test.xml should be working now.

  5. 5 Posted by ferventcoder on 04 Sep, 2014 12:43 PM

    ferventcoder's Avatar
  6. ferventcoder closed this discussion on 04 Sep, 2014 12:43 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? 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