代碼覆蓋測試工具:kcov

jopen 10年前發布 | 27K 次閱讀 kcov 測試工具

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.baiduhome.net/lib/view/home/1386551617814

 本文由用戶 jopen 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
 轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
 本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!