gotwarlost / istanbul

Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
8.7k stars 786 forks source link

Ensure Cobertura output conforms to DTD 0.4 #843

Closed salbahra closed 1 year ago

salbahra commented 6 years ago

Currently the output is not usable on VSTS builds because the XML does not conform to the spec outlined here: http://cobertura.sourceforge.net/xml/coverage-04.dtd.

This modifies the XML structure so the output is considered valid per the spec.

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 97.523% when pulling a6296f28271a8b5ad25a0ada5cef46ab44136f5c on salbahra:patch-1 into bc84c315271a5dd4d39bcefc5925cfb61a3d174a on gotwarlost:master.

salbahra commented 1 year ago

Hope this has been resolved elsewhere as I'm closing this PR after so many years of no movement.