Re:MinUnit – A minimal unit testing framework for C (2002)
by codeplea on Friday August 17, 2018 @02:07PM
(#17784633)
Why stick to three lines? With only a couple more you could reduce the boiler-plate needed to use it.
I wrote a minimal C test framework too: https://github.com/codeplea/minctest It's got some real-world usage. Still only just one header file, but it'll time each test and if an equal assertion fails it'll print the variable values.
I wrote a minimal C test framework too: https://github.com/codeplea/minctest It's got some real-world usage. Still only just one header file, but it'll time each test and if an equal assertion fails it'll print the variable values.