Nunit Test Summary?

dotnet

#1

I’ve had success getting a CI pipeline up and running for a dotnet core 2.2 project and have almost everything working I would need to use this in production except for a Test Summary for nunit test results.

Do unit test results explicitely have to be in junit format to show up in the summary? Would it be possible to support parsing nunit test formats? https://github.com/nunit/docs/wiki/Test-Result-XML-Format


#2

Hello,

Currently, test results have to be in either junit or cucumber to be parsed into the test summary section. We may consider adding other formats in the future if we get enough interest. Can I ask you to create a feature request so our product team is aware and others can vote on it?


#3

I imagine there would be an XSLT document to convert this, assuming they are both in XML?


#4

Here is an XSLT transform: https://github.com/nunit/nunit-transforms/blob/master/nunit3-junit/nunit3-junit.xslt