piCotest 0.2
About
piCotest is inspired from of minuint (http://www.jera.com/techinfo/jtns/jtn002.html) in so far as that it's easy to include in existing projects without installing libraries.
Above all else, it's designed to be lightweight and simple.
Usage
- Create an empty C file
-
include "picotest.h"
- Create a void test method (e.g. void testOne() { ... } )
- Inside the method, use TEST_ASSERT("String Description here", truthExpressionToEvaluateHere);
- In your main method, invoke initializePicotest() and then use the addTestMethod to add your test to the suite (e.g. addTest(testOne);)
- When done adding tests, invoke executeTestSuite();
Coming Soon
- setUp and tearDowns for tests
- Resetting after each test
- Dynamically expanding the number of tests