All Projects → fkromer → catch_cmake_coverage

fkromer / catch_cmake_coverage

Licence: MIT License
Integration of Catch, CMake and CMake CodeCoverage module and basic examples in C++.

Programming Languages

C++
36643 projects - #6 most used programming language
CMake
9771 projects

Projects that are alternatives of or similar to catch cmake coverage

phptt
phptt a.k.a php test tools
Stars: ✭ 15 (-50%)
Mutual labels:  gcov, lcov
Awesome Cmake
A curated list of awesome CMake resources, scripts, modules and examples.
Stars: ✭ 3,970 (+13133.33%)
Mutual labels:  cmake, cmake-modules
cov
An emacs extension for displaying coverage data on your code
Stars: ✭ 65 (+116.67%)
Mutual labels:  gcov, lcov
Cmake Examples
Useful CMake Examples
Stars: ✭ 7,220 (+23966.67%)
Mutual labels:  cmake, catch
CMake-codecov
CMake module for code coverage
Stars: ✭ 82 (+173.33%)
Mutual labels:  gcov, lcov
GreatCMakeCookOff
Bunch of CMake pain in the baker
Stars: ✭ 38 (+26.67%)
Mutual labels:  cmake-modules
computer-vision-dojo
This is a repository to learn and get more computer vision skills, make robotics projects integrating the computer vision as a perception tool and create a lot of awesome advanced controllers for the robots of the future.
Stars: ✭ 15 (-50%)
Mutual labels:  cmake
CPP Template
C++ project template : CMake, Test, Travis CI, Appveyor, CodeCoverage, Doxygen
Stars: ✭ 32 (+6.67%)
Mutual labels:  catch
ycm
Extra CMake Modules for YARP and friends
Stars: ✭ 42 (+40%)
Mutual labels:  cmake-modules
cmake-modules
CMake module collection
Stars: ✭ 30 (+0%)
Mutual labels:  cmake
CmakeSettings
Example CmakeSettings.json for different configurations for using CMake inside of Visual Studio
Stars: ✭ 27 (-10%)
Mutual labels:  cmake
esm
Lightweight communicating state machine framework for embedded systems
Stars: ✭ 21 (-30%)
Mutual labels:  cmake
ixm
Make CMake less painful when trying to write Modern Flexible CMake
Stars: ✭ 99 (+230%)
Mutual labels:  cmake-modules
cmake-maven-project
Project to enable using CMake from a Maven build.
Stars: ✭ 57 (+90%)
Mutual labels:  cmake
istanbul-badges-readme
Creates and updates README testing coverage badges with your json-summary
Stars: ✭ 77 (+156.67%)
Mutual labels:  lcov
CLUSEK-RT
Vulkan based C++ ray-tracing game engine.
Stars: ✭ 24 (-20%)
Mutual labels:  cmake
vatsinator-legacy
An open-source Vatsim monitor
Stars: ✭ 12 (-60%)
Mutual labels:  cmake-modules
OpenJij
OpenJij : Framework for the Ising model and QUBO.
Stars: ✭ 57 (+90%)
Mutual labels:  cmake
c-template
Boilerplate to set up a c project, include CuTest unit testing, cmake build setup
Stars: ✭ 69 (+130%)
Mutual labels:  cmake
cpp-utilities
Common C++ classes and routines used by my applications such as argument parser, IO and conversion utilities
Stars: ✭ 35 (+16.67%)
Mutual labels:  cmake

cmake_catch_coverage

Integration of CMake, Catch and CMake CodeCoverage module for C++ code. (CMake CodeCoverage depends on: gcov, gcovr, genhtml, lcov.)

Setup

install test build environment tools (Ubuntu)

./setup.sh

Usage

test build and test execution (with junit format .xml result piping into build/unit_test_result.html, without coverage analysis)

cd build/
cmake ..
make unit_tests
./unit_tests -r junit > unit_test_result.xml

test build, test execution (with coverage analysis) and coverage observation

cd build/
cmake ..
make unit_tests_coverage
xdg-open ./coverage/index.html
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].