News for hackers. Stuff that matters.
Re:Greatest: C unit testing library in one file by silentbicycle on Tuesday January 07, 2014 @07:56PM (#7021055)
I wrote greatest because minunit doesn't provide any of the infrastructure that nearly every test runner grows eventually, in some ad hoc way. Halting after the first error is just not good enough after projects grow beyond a certain size. Also, being able to run just specific suite(s) or test(s) by name patterns from the command line really speeds up one's workflow.

I still wanted something as straightforward to use as minunit, though. Not knocking it. I'd rather use minunit than something that imposed its own architectural opinions on my projects, or consumed resources already in short supply. Also, I make a lot of small C utilities and libraries, and having to define a "project" just to have tests adds a bit too much friction.

(I wrote a bit more about that here: http://spin.atomicobject.com/2013/07/31/greatest-c-testing-e... )

Re:Greatest: C unit testing library in one file by abtinf on Tuesday January 07, 2014 @08:08PM (#7021083)
Agreed. I've skimmed the source and it looks like it would be much easier to integrate into a build system as well.

I find Minunit helpful because its easy to memorize and dump into a new project for quick testing. Its brevity also seems to help introduce c devs to unit testing.