Open IamFive opened 11 years ago
Which junit parser? IIRC, the coverage format actually comes from Cobertura. See this example.
JUnit is for unit testing, and I don't believe it specifies anything related to coverage. Judging by the above, that output is Atlassian Clover's coverage format.
thanks for the reply, this is my situation: I used NoseXUnit at past and parse cobertura.xml & clover.xml (both generated by NoseXUnit plugin) with Bamboo(From Atlassian). and it works good. But NoseXUnit depend on coverage==2.8.5, so we move to nose with plugin xunit and coverage.
but nose+coverage only give me the cobertura.xml (the coverage xml file) and what i need is clover.xml. here is my options:
[nosetests]
with-coverage = 1
cover-html = 1
cover-html-dir = ../hive_test/cover
cover-xml = 1
cover-xml-file = ../hive_test/cover.xml
cover-erase = 1
cover-package = hive
with-xunit = 1
xunit-file = ./hive_test/nosexunit.xml
where = hive_test
BTW: the file produced by NoseXUnit plugin is here: clover.xml https://gist.github.com/IamFive/5875822 cobertura.xml https://gist.github.com/IamFive/5875815
As title. xml produced by nose coverage is like:
but the format junit parser supports is: