Running the Tests

Below is a program listing for running the testcase via standard test runner. The full example can be found in /examples folder.

 
            
#include <embUnit/embUnit.h>
TestRef CounterTest_tests( TestCaller *test );

int main (int argc, const char* argv[])
{
  static TestCaller test;
	
  TestRunner_start();
  TestRunner_runTest(CounterTest_tests(&test));
  TestRunner_end();
  return 0;
}