Is it possible to measure code coverage and display reports for non-JVM languages (such as PHP, Perl or Python) using Bamboo Clover Plugin?
Clover itself measures code coverage for Java and Groovy languages only.
However, it's possible to hack the Bamboo Clover Plug-in and use it to display reports on the "Clover" tab for other languages as well. Plug-in looks for two kinds of reports:
Integrating XML report
There is a number of code coverage tools, which can produce coverage report in XML file format compatible with Clover's one, for instance the PHPUnit. In such case you have to enable manual Clover integration and point to XML file produced by that tool. Thanks to it, the "Clover" tab on a plan summary page will display a coverage bar.
Integrating HTML report
A lot of tools can generate HTML reports as well. Examples are: Cobertura/JaCoCo for JVM languages, XCoverage + nose-html for Python, PHPUnit. Although they look differently than Clover's report, you can still embed them in the "Clover" tab on a job summary page. In order to achieve this:
References
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.