Is it overkill to run the unit test with Valgrind?
We certainly do – it’s much easier to run valgrind against the unit tests than with the full program. Also any memory errors are localised to the area of code the unit test is testing which makes it easier to fix. Plus checking that you’ve fixed it is easier – because you’re running the unit … Read more