picklesdoc / pickles

The open source living documentation generator
http://www.picklesdoc.com/
Apache License 2.0
464 stars 164 forks source link

nunit3 result is turned into inconclusive in HTML report #592

Closed WenningQiu closed 4 years ago

WenningQiu commented 4 years ago

I am using Pickles 2.21.0.0 and am puzzled that the tests in the HTML report show up as inconclusive even though their status in the XML file (nunit3) are all Passed. The XML file was generated by "dotnet test" command (3.1.402) with "--logger:nunit" option.

Pickles appears to have no issue generating reports on nunit3 XML produced by nunit3-console.exe on my .NET Framework tests.

I found a related issue (https://github.com/picklesdoc/pickles/issues/499) and tried some of the suggestions there with no avail.

I have attached the XML file, feature source and the generated HTML report.

Pickles.zip

WenningQiu commented 4 years ago

The root cause is that package NunitXml.TestLogger failed to convert DescriptionAttribute on the test fixture and test case into tags on and elements.

I'll close this issue.