Closed sholsapp closed 8 years ago
The ocr library does coverage testing and uses CMake to make it all happen. We should try and follow this library as an example of how to do coverage (and CMake in general).
This is done at this time, but doesn't implement automated coveralls integration. I'll leave that as a task for the future.
To generage coverage:
git clean -fxd
./project coverage
<open coverage/index.html>
:balloon:
https://coveralls.io/github/dgilland/pydash https://github.com/eddyxu/cpp-coveralls http://stackoverflow.com/questions/13116488/detailed-guide-on-using-gcov-with-cmake-cdash http://stackoverflow.com/questions/20780857/compiling-googletest-for-gcov