-
-
Notifications
You must be signed in to change notification settings - Fork 2
Description
[…] only the Cobertura XML format is supported by DeepSource
— https://deepsource.io/docs/analyzer/test-coverage/#javascript
Currently, our tests in this repo are written using tape
, yet we are instructed to use Jest to generate the coverage reports… As long as the output is in the expected Cobertura XML format, i think we should be alright, but was unable to find an option for that output using tape
nor were there any suitable companion modules altho tap-nyc
would seem to be what we are looking for if it would output XML. 😕
We could also use node-tap
instead of tape
and use its --coverage-report=cobertura
flag. I was hoping not to do much refactoring to get this working correctly, but if that is not the case, I have no objection to moving to a more elegant solution if necessary. We seem to have outgrown both tape
and tap
, but I am also not a huge fan of Jest…
Refs: https://node-tap.org/docs/coverage/#uploading-coverage-to-other-services