3 ms·
If we're going this far - C already has a "unit testing framework", assert.h. Just ensure !NDEBUG.
by MaulingMonkey 9y ago
If we're going this far - C already has a "unit testing framework", assert.h. Just ensure !NDEBUG.
- filmor 9y agoA failing `assert` interrupts execution, though.
- MaulingMonkey 9y agoRight on one of the file/line combinations I want to look at when the debugger is attached, even. Feature! When the debugger is not attached, it provides additional incentive to fix the tests ;). (Hanging CI on failed tests on remote servers is, admittedly, annoying at best. MinUnit will also only report a single failed test in that case, I note.)