代码覆盖测试工具:kcov

jopen 10年前

Kcov 是一个基于bcov的代码覆盖测试工具,它允许从可执行文件收集代码覆盖信息,而无需特殊的命令行参数。并可以从长期运行的应用程序持续产生输出。

kcov的主要特点是:

  • 没有编译选项 - 直接从二进制文件收集代码覆盖率信息
  • HTML and Cobertura XML output without processing steps
  • With Cobertura output, kcov coverage data can be easily integrated in the Jenkins continuous integration server.
  • Shared libraries linked to the application are transparently covered
  • kcov can accumulate data from multiple runs of the same program
  • kcov generates an updated web page every second, so long-running programs can be watched "live"
  • kcov allows output to be sorted, either by coverage percentage or filename
  • kcov allows specifying paths to include and exclude in the coverage, thereby limiting noise from system header files etc
  • kcov allows multiple program coverage to be kept in a single HTML output directory, and will automatically add more programs as they are run
  • build-id is automatically used to find source code, when applicable

代码覆盖测试工具:kcov



 

项目主页:http://www.open-open.com/lib/view/home/1386551617814