How to use lcov test coverage tool with Hudson continuous integration?
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.
精彩评论