tag:help.appveyor.com,2012-11-13:/discussions/problems/793-xunit-batch-result-uploadsAppVeyor: Discussion 2018-10-19T08:16:45Ztag:help.appveyor.com,2012-11-13:Comment/346361412014-09-19T00:43:03Z2014-09-19T00:43:03Zxunit batch result uploads<div><p>Will take a look what's wrong with the parser. Thanks for sample
XMLs.</p></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/346361412014-09-22T23:39:13Z2014-09-22T23:39:13Zxunit batch result uploads<div><p>How these XML reports were generated? What version of xUnit is
that?</p>
<p>Sample xUnit XML report could look like:</p>
<pre>
<code><?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></code>
</pre></div>Feodor Fitsnertag:help.appveyor.com,2012-11-13:Comment/346361412014-09-23T07:39:22Z2014-09-23T07:39:22Zxunit batch result uploads<div><p>Oh.. I had the xUnits mixed up. Sorry for the trouble.</p>
<p>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':<br>
<a href=
"http://www.warp1337.com/content/how-use-ctest-jenkins-xunit-or-junit-plugin">
http://www.warp1337.com/content/how-use-ctest-jenkins-xunit-or-juni...</a></p>
<p>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).</p>
<p>I guess I'll have to make a converter myself.<br>
Thanks for your time!</p></div>tostercx