rgoulter / cs5237-VoronoiArt

Voronoi Art program written with OpenGL, Qt and OpenCV.
MIT License
3 stars 1 forks source link

Add gcov or equivalent code coverage #50

Open rgoulter opened 6 years ago

rgoulter commented 6 years ago

Further, try and have some kind of code coverage badge.

It's not that the code coverage needs to be high. But I think a project-badge & ability to have code coverage is itself pretty neat. :-) https://coveralls.io/

rgoulter commented 6 years ago

https://github.com/catchorg/Catch2/blob/master/docs/build-systems.md notes that there's an example of combining Catch2 tests with gcov at: https://github.com/fkromer/catch_cmake_coverage

rgoulter commented 6 years ago

https://codingnest.com/how-to-get-code-coverage-from-ci/ This guide looks useful. It refers to https://github.com/RWTH-HPC/CMake-codecov