0
votes

I am currently using cypress test runner with property --reporter junit, which generates test reporting results using JUnit XML Format:

cypress run --reporter junit

However, using a testing monitoring service that requires test reporting results using NUnit XML Format

Is anyone aware of a solution for either, or both?:

  1. Generates Cypress reports in NUnit XML Format

  2. Command-line tool that transforms from JUnit XML Format to NUnit XML Format

Thank you

2

2 Answers

1
votes

Although originally targeted at Jenkins, this may work for you...

https://github.com/nunit/nunit-transforms/tree/master/nunit3-junit

0
votes

Found an XSLT Template to transform JUnit XML reports to NUnit XML:

junit-to-nunit

Transforms are working using Apache Ant.

Investigating performing transforms using JavaScript, possibly using new npm module XSLTjs.