开发者

How to use lcov test coverage tool with Hudson continuous integration?

开发者 https://www.devze.com 2023-01-11 19:47 出处:网络
In my environment developers use lcov from command line when working with source code\'s module tests.

In my environment developers use lcov from command line when working with source code's module tests. I would like to know if there is a way to easily a开发者_如何学JAVAdd reports from lcov to Hudson's builds? I would ease and automate the whole procedure of gathering test source code coverage.


If you are looking to publish the generated HTML reports along with your job/builds, have a look at the htmlpublisher plugin: http://wiki.hudson-ci.org/display/HUDSON/HTML+Publisher+Plugin

This allows you to specify multiple html directories and index files to be made accessible from the job or build page.


Have a look at the xUnit Plugin. I found the info in this thread. It has more information for using Hudson to build cpp projects.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号