Add link to external gcov/lcov example to documentation

An alternate take on #916, that better slots into the existing
documentation.

Closes #916
This commit is contained in:
Martin Hořeňovský 2017-06-04 12:17:59 +02:00
parent adb66f55a7
commit 3e018ef131
2 changed files with 7 additions and 3 deletions

View File

@ -17,7 +17,7 @@ Fine tuning:
Running: Running:
* [Command line](command-line.md) * [Command line](command-line.md)
* [Build systems](build-systems.md) * [CI and Build system integration](build-systems.md)
FAQ: FAQ:
* [Why are my tests slow to compile?](slow-compiles.md) * [Why are my tests slow to compile?](slow-compiles.md)

View File

@ -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. 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`. 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) [Home](Readme.md)