Closed siposaron closed 5 months ago
Confirmed regarding the duration
property -- the nunit-v3.xml sample used in the test suite has some omissions. I'll investigate.
There's a disconnect between the sample formats provided by the NUnit team and the actual output.
This document refers to the following sample files, which our tests are based on:
duration
/time
seems to be the most glaring difference and I can apply a fix between v2/v3 versions.
Good catch on the top-level test-run status. It's currently not being mapped which results in a FAIL.
Fix released in - v0.1.18
https://docs.nunit.org/articles/nunit/technical-notes/usage/Test-Result-XML-Format.html
The NUnit v3 format does not have
time
property, but it hasduration
. Current version 0.1.14 does not parse the duration as per NUnit specifications.i.e.
<test-run id="0" runstate="Runnable" testcasecount="40" result="Passed" total="6" passed="6" failed="0" warnings="0" inconclusive="0" skipped="0" asserts="10" engine-version="3.15" clr-version="4.0" start-time="2024-03-21 13:00:15Z" end-time="2024-03-21 13:00:42Z" duration="26.189586">
Another thing, the test-run
Passed
status is parsed toFAIL
.