Hi,
I'm running projects built with Python and Javascript, and would like code coverage reports together with my Bamboo builds.
I know about the tools (Nose for Python with the coverage package, Karma-coverage for JS) that could generate me Cobertura compatible XML output, thus I would like to know if you have any support for these?
@Andrey Oleynik, I can convert output from nose2 --with-coverage --coverage-report=xml to Clover format using https://pypi.python.org/pypi/cobertura-clover-transform/. When I add the clover.xml file to the build using the Miscellaneous tab using this method (https://confluence.atlassian.com/bamboo/enabling-the-clover-add-on-289277268.html#EnablingtheCloveradd-on-ManualCloverintegration), I only get a very limited report.How can you convert the Python-generated clover.xml output into something that Bamboo fully consumes and gives you a full report?
Must a Java build also take place that runs Clover?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
cobertura-clover-transform doesn't create full clover report, you could use it for tracking historical changes of cover ratio. The only way to get the full coverage report is to create html report by nose2:
nose2 --with-cov --cov-report html testfoo
and attach it to a build as artifact.
Screen Shot 2016-02-09 at 20.35.13.png
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Or you could try coveralls.io. We use the coverage output generated by nose and the send that to coveralls. There are two Lutton libraries you can choose from that make it easy to link bamboo with coveralls and then you will have a full history of code coverage.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.