Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can one generate Clover-compatible (Bamboo) xml which includes coverage data for python unnittest?

NoseXUnit used to be able to generate Clover-compatible xml files, but it is no longer maintained, and does not work with recent versions of Nose.

How can one generate Clover-compatible (Bamboo) xml which includes coverage data nowadays?

like image 656
Tarnay Kálmán Avatar asked Sep 23 '14 03:09

Tarnay Kálmán


1 Answers

To my knowledge nose can only output Cobertura format. This is done by passing --with-coverage and --cover-xml nose coverage options. You can then use coverage2clover utility to convert coverage.py xml report to Atlassian Clover test report format understood by Bamboo.

like image 166
Oleksiy Avatar answered Oct 11 '22 15:10

Oleksiy