michaelleeallen / mocha-junit-reporter

A JUnit XML reporter for mocha.
MIT License
142 stars 152 forks source link

Add 'circleCIMode' option to include file attribute in each <testsuite> tag #170

Open jpdillingham opened 2 years ago

jpdillingham commented 2 years ago

Enables Circle CI to ingest test results and display a filename for each failing test.

With the attribute present, Circle CI displays:

image

With the attribute missing, Circle CI displays (ignore the different test, the filename is missing):

image

Circle CI documentation on this feature can be found here: https://circleci.com/docs/2.0/collect-test-data/

sebastian-lerner commented 1 year ago

@jpdillingham did you ever get any luck getting any traction on this?

jpdillingham commented 1 year ago

We were using our internally forked version, here: https://github.com/latticehr/mocha-junit-reporter