Add minunit test framework (#168)
* add minunit tests * fix logging * ignore unexisting time service on embedded targets * fix warning, issue with printf * add exitcode * migrate to printf * indicate test by leds * add testing description * redesigned minunit tests to allow testing in separate files * add test step for local target * add failure test * add restore test_check * testing description Co-authored-by: rusdacent <rusdacentx0x08@gmail.com> Co-authored-by: DrZlo13 <who.just.the.doctor@gmail.com>
This commit is contained in:
15
applications/tests/minunit_vars_ex.h
Normal file
15
applications/tests/minunit_vars_ex.h
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
#include "minunit.h"
|
||||
|
||||
/* Misc. counters */
|
||||
extern int minunit_run;
|
||||
extern int minunit_assert;
|
||||
extern int minunit_fail;
|
||||
extern int minunit_status;
|
||||
|
||||
/* Timers */
|
||||
extern double minunit_real_timer;
|
||||
extern double minunit_proc_timer;
|
||||
|
||||
/* Last message */
|
||||
extern char minunit_last_message[MINUNIT_MESSAGE_LEN];
|
||||
Reference in New Issue
Block a user