19#include "../asrtl/status.h"
27 ASRT_TEST_RUNNING = 2,
34typedef enum asrt_status ( *asrt_test_callback )(
struct asrt_record* );
53#define ASRT_RECORD_CHECK( rec, x ) \
56 ( rec )->state = ASRT_TEST_FAIL; \
60#define ASRT_RECORD_REQUIRE( rec, x ) \
63 ( rec )->state = ASRT_TEST_FAIL; \
64 return ASRT_SUCCESS; \
Mutable test state passed to the test entry point on every tick.
Definition: record.h:46
struct asrt_test_input const * inpt
Immutable per-invocation context.
Definition: record.h:49
enum asrt_test_state state
Current state; updated by assertions and by the reactor.
Definition: record.h:47