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 */



comments powered by Disqus

Related Projects

Open source products are scattered around the web. Please provide information about the open source projects you own / you use. Add Projects.

Tag Cloud >>