Code Coverage in RTC
Hi,
I am looking for some guidance of how code coverage analysis tools can be integrated in to the RTC deliver and build processes.
I see from this article that EMMA was supported - but I cannot find any details as to how to configure it in the V4 release.
https://jazz.net/library/article/34
There does not appear to be any incubators any more and I cannot seem to see that it is now integrated into the product - the latest docs do not have any details either.
The team that I am working with want to use Clover for code coverage - does RTC have support for this ?
Ok, so I could call an Ant task to kick the analysis off but then how do I get the results back in a respectable format to be shown in the build record ?
Anyone done this ?
Cheers,
Adrian
One answer
Hi Adrian,
In general you can use everything you can run in a build e.g. calling with an Ant task. You can use the Build System ANT tasks publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.team.build.doc/topics/r_ant-tasks.html to upload those files to the build result.
I think the solution lacks easy access to the data e.g. using HTML. So I wrote this article because I have seen several questions like this: https://jazz.net/library/article/797 . The approach used in the article would be one approach. Another approach I have seen is using RTC with Jenkins and publish the Jenkins result pages back to RTC.
In general you can use everything you can run in a build e.g. calling with an Ant task. You can use the Build System ANT tasks publib.boulder.ibm.com/infocenter/clmhelp/v3r0m1/topic/com.ibm.team.build.doc/topics/r_ant-tasks.html to upload those files to the build result.
I think the solution lacks easy access to the data e.g. using HTML. So I wrote this article because I have seen several questions like this: https://jazz.net/library/article/797 . The approach used in the article would be one approach. Another approach I have seen is using RTC with Jenkins and publish the Jenkins result pages back to RTC.