clar - What tests are made of.

  •        0

Clar is a minimal C unit testing framework. It's been written to replace theold framework in [libgit2][libgit2], but it's both very versatile andstraightforward to use.Can you count to funk?- **Zero: Initialize test directory** ~~~~ sh $ mkdir tests $ cp -r $CLAR_ROOT/clar* tests $ cp $CLAR_ROOT/test/clar_test.h tests $ cp $CLAR_ROOT/test/main.c.sample tests/main.c ~~~~- **One: Write some tests** File: tests/adding.c: ~~~~ c /* adding.c for the "Adding" suite */

https://github.com/vmg/clar

Tags
Implementation
License
Platform

   




Related Projects