ccampbell / luna-testing

Simple, modern, opinionated JavaScript unit testing
https://craig.is/testing/code
MIT License
151 stars 6 forks source link

JUnit test reporting for CI integration #8

Open Asuza opened 6 years ago

Asuza commented 6 years ago

I didn't see mention of CI integration for test reports. Specifically, I need to be able to output a JUnit file when these tests are run. Is that a possibility?

Asuza commented 6 years ago

@ccampbell any idea if this would be possible to implement?

Asuza commented 6 years ago

@ccampbell just checking in one more time. Thanks.

ccampbell commented 6 years ago

Hey sorry. It certainly sounds like something that could be supported. I just don’t have time to work on it right now.

chauncey-garrett commented 5 years ago

@Asuza it looks like all that would basically need to happen is to add cobertura and html to the reportersToUse array here: https://github.com/ccampbell/luna/blob/0cf57415a2df7ce57fc73117685220038a1e2198/src/runner.js#L414