AUnit
0.3.1
Unit testing framework for Arduino platforms inspired by ArduinoUnit.
|
Various macros (test(), testing(), externTest(), externTesting()) are defined in this header. More...
#include <stdint.h>
#include "FCString.h"
Go to the source code of this file.
Classes | |
class | aunit::Test |
Base class of all test cases. More... | |
class | aunit::TestOnce |
Similar to Test but performs the loop() method only once. More... | |
Macros | |
#define | test(name) |
Macro to define a test that will be run only once. More... | |
#define | testing(name) |
Macro to define a test that will run repeatly upon each iteration of the global loop() method, stopping when the something calls Test::pass(), Test::fail() or Test::skip(). More... | |
#define | externTest(name) |
Create an extern reference to a test() test case object defined elsewhere. More... | |
#define | externTesting(name) |
Create an extern reference to a testing() test case object defined elsewhere. More... | |
Various macros (test(), testing(), externTest(), externTesting()) are defined in this header.
Definition in file Test.h.
#define externTest | ( | name | ) |
Create an extern reference to a test() test case object defined elsewhere.
This is only necessary if you use assertTestXxx() or checkTestXxx() when the test is in another file (or defined after the assertion on it).
#define externTesting | ( | name | ) |
Create an extern reference to a testing() test case object defined elsewhere.
This is only necessary if you use assertTestXxx() or checkTestXxx() when the test is in another file (or defined after the assertion on it).
#define test | ( | name | ) |
Macro to define a test that will be run only once.
#define testing | ( | name | ) |
Macro to define a test that will run repeatly upon each iteration of the global loop() method, stopping when the something calls Test::pass(), Test::fail() or Test::skip().