From 3e018ef131878f32950d3622300e282c1c8a6594 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Sun, 4 Jun 2017 12:17:59 +0200 Subject: [PATCH] Add link to external gcov/lcov example to documentation An alternate take on #916, that better slots into the existing documentation. Closes #916 --- docs/Readme.md | 2 +- docs/build-systems.md | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/Readme.md b/docs/Readme.md index e7e69080..36048ff8 100644 --- a/docs/Readme.md +++ b/docs/Readme.md @@ -17,7 +17,7 @@ Fine tuning: Running: * [Command line](command-line.md) -* [Build systems](build-systems.md) +* [CI and Build system integration](build-systems.md) FAQ: * [Why are my tests slow to compile?](slow-compiles.md) diff --git a/docs/build-systems.md b/docs/build-systems.md index 437bedc9..b9644e53 100644 --- a/docs/build-systems.md +++ b/docs/build-systems.md @@ -1,4 +1,4 @@ -# Integration with build systems +# CI and build system integration Build Systems may refer to low-level tools, like CMake, or larger systems that run on servers, like Jenkins or TeamCity. This page will talk about both. @@ -134,6 +134,10 @@ TEST_CASE("Test3", "[a][b][c]") { ``` would be registered as 3 tests, `Test1`, `Test2` and `Test3`, and ctest 4 labels would be created, `a`, `b`, `c` and `unit`. +### CodeCoverage module (GCOV, LCOV...) + +If you are using GCOV tool to get testing coverage of your code, and are not sure how to integrate it with CMake and Catch, there should be an external example over at https://github.com/fkromer/catch_cmake_coverage + --- -[Home](Readme.md) \ No newline at end of file +[Home](Readme.md)