Hi,

Is the v2 XML format supported by gocd?

I tried to include the test report generated by XunitXml.TestLogger 
(https://www.nuget.org/packages/XunitXml.TestLogger/)

But it was refused by gocd "Ignoring file TestResults.xml - it is not a 
recognised test file."

if the old xUnit format is the only supported format, then do anyone know 
an easy way to generate that when running tests for dotnet core?

I have pasted the same report generated on my local machine below.

<?xml version="1.0" encoding="utf-8"?>
<assemblies timestamp="02/28/2019 11:09:33">
  <assembly 
name="C:\dev\TinglysningApi\Geomatic.TinglysningApi\Geomatic.TinglysningApi.Test\bin\Debug\netcoreapp2.2\Geomatic.TinglysningApi.Test.dll"
 
run-date="2019-02-28" run-time="11:09:33" total="8" passed="8" failed="0" 
skipped="0" time="0.204" errors="0">
    <errors />
    <collection total="8" passed="8" failed="0" skipped="0" name="Test 
collection for Geomatic.TinglysningApi.Test.EjendomControllerTest" 
time="0.204">
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.Get_mismatched_args_gives_bad_request"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="Get_mismatched_args_gives_bad_request" time="0.1360000" 
result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.GetId_kommunekode_ejendomsnummer_returns_guid_from_client"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="GetId_kommunekode_ejendomsnummer_returns_guid_from_client" 
time="0.0340000" result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.GetId_ejerlav_ejendomsnummer_ejerlejlighedsnr_returns_guid_from_client"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="GetId_ejerlav_ejendomsnummer_ejerlejlighedsnr_returns_guid_from_client" 
time="0.0050000" result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.GetId_mismatched_args_gives_bad_request"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="GetId_mismatched_args_gives_bad_request" time="0.0020000" 
result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.Get_guid_returns_xml_from_client"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="Get_guid_returns_xml_from_client" time="0.0070000" result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.GetPdf_returns_data_from_client"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="GetPdf_returns_data_from_client" time="0.0110000" result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.Get_ejerlav_ejendomsnummer_ejerlejlighedsnr_returns_xml_from_client"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="Get_ejerlav_ejendomsnummer_ejerlejlighedsnr_returns_xml_from_client" 
time="0.0050000" result="Pass">
        <traits />
      </test>
      <test 
name="Geomatic.TinglysningApi.Test.EjendomControllerTest.Get_kommunekode_ejendomsnummer_returns_xml_from_client"
 
type="Geomatic.TinglysningApi.Test.EjendomControllerTest" 
method="Get_kommunekode_ejendomsnummer_returns_xml_from_client" 
time="0.0040000" result="Pass">
        <traits />
      </test>
    </collection>
  </assembly>
</assemblies>


-- 
You received this message because you are subscribed to the Google Groups 
"go-cd" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to