News for hackers. Stuff that matters.
Re:MinUnit: a minimal unit testing framework for C by MaulingMonkey on Monday May 08, 2017 @10:33PM (#14297344)
If we're going this far - C already has a "unit testing framework", assert.h. Just ensure !NDEBUG.
Re:MinUnit: a minimal unit testing framework for C by filmor on Tuesday May 09, 2017 @07:11AM (#14299018)
A failing `assert` interrupts execution, though.
Re:MinUnit: a minimal unit testing framework for C by MaulingMonkey on Tuesday May 09, 2017 @03:50PM (#14303253)
Right 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.)