3 ms·
I really agree, I think that making the tests as easy as possible to get going goes a long way towards a code base that actually has tests. I have something ve
by samiv 2y ago
I really agree, I think that making the tests as easy as possible to get going goes a long way towards a code base that actually has tests.
I have something very similar.
https://github.com/ensisoft/detonator/blob/master/base/test_minimal.h https://github.com/ensisoft/detonator/blob/master/base/test_...
Borrowed heavily from boost.test.minimal and used to be a single header but but over the years I've had to add a single translation unit!
My takeaway is that if you keep your code base in a condition where tests are always passing you need much less complications in your testing tools and their error reporting and fault tolerance etc. !