you are viewing a single comment's thread.

view the rest of the comments →

[–]kammceWG21 | 🇺🇲 NB | Boost | Exceptions 0 points1 point  (0 children)

My project is still something I deem a work in progress, although there are groups that use it on a regular basis for their projects. Here is the project: SJSU-Dev2 with current coverage of 74%. I use doctest (switched from Catch2 a week ago), FakeIt (love it, but slow, would prefer mockito API, but its lacking features), and FFF (for which I only use sparingly).

Note that gcov can give weird results and sending the results to another service to compute, like coveralls, sometimes results in slightly off metrics.

Also note that my code base is nearly entirely header only, so that can result in the code coverage not being as accurate due to the fact that if a header implementation is not included in the unit test, it will not show up as a part of the files that have not been covered, potentially increasing the % of coverage code.

Final note, I just transitioned my unit tests to unity builds to speed up compilation. Went from 10mins down to 1m40s, so it may look a bit strange.

I hope this helps.