action icon indicating copy to clipboard operation
action copied to clipboard

`unknown test file type` error thrown

Open Aanchal-Jain-Apica opened this issue 3 years ago • 1 comments

I have a .NET framework project with unit tests running with NUnit. It generates a test result file as NUnitResults.xml. In my GitHub workflow file I have a step for test-summary after running the tests as follows -

- name: Test Summary
  uses: test-summary/[email protected]
  if: always()
  with:
      paths: "./NUnitResults.xml"

But this steps throws an error as unknown test file type for './NUnitResults.xml'

Are NUnit Test Results not supported by this action yet?

Aanchal-Jain-Apica avatar Aug 23 '22 09:08 Aanchal-Jain-Apica

Not yet - but in the meantime, you can use JunitXml.TestLogger.

There's an example here: https://github.com/test-summary/examples/tree/main/dotnet

ethomson avatar Dec 08 '23 10:12 ethomson