xunit batch result uploads

  1. Will take a look what's wrong with the parser. Thanks for sample XMLs.

  2. How these XML reports were generated? What version of xUnit is that?

    Sample xUnit XML report could look like:

    <?xml version="1.0" encoding="utf-8"?>
    <assembly name="C:\Projects\GitHub\appvyr-xunit-tests\xUnit_x86_Clr4\bin\Debug\xUnit_x86_Clr4.dll" run-date="2014-09-22" run-time="16:36:45" configFile="C:\Tools\xUnit\xunit.console.clr4.x86.exe.Config" time="0.105" total="1" passed="1" failed="0" skipped="0" environment="32-bit .NET 4.0.30319.34014" test-framework="xUnit.net 1.9.2.1705">
      <class time="0.105" name="xUnit_x86_Clr4.xUnit_x86_CLR4_Tests" total="1" passed="1" failed="0" skipped="0">
        <test name="xUnit_x86_Clr4.xUnit_x86_CLR4_Tests.TestA" type="xUnit_x86_Clr4.xUnit_x86_CLR4_Tests" method="TestA" result="Pass" time="0.105" />
      </class>
    </assembly>
    
  3. 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!

  4. tostercx closed this discussion on 24 Sep, 2014 06:08 PM.

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