STest - is simple unit tests for C/C++.
License: BSD 3-Clause
Copyright (C) 2017 Koynov Stas - skojnov@yandex.ru
- New: add
TEST_PASS/SKIP/FAIL/ASSERTwith print format variant - New: add macro
TEST_INIT/ClEAN - New: add macro
STEST_ONLY_BASENAMEfor print only base name of file - New: add macro
STEST_SKIP/PASS_ENABLEDfor on/off show(print) status - New: add color for print of file name in
more_infomode - New: delete
print_footer
- New: add option
STEST_RETURN_TYPE - Fix: add attribute((un/used)) for fix warning static-analizer
- New: add macro
STEST_xxx_MORE_INFO - New: add macros to customize color printing
- New: add macro
stest_printf- for select print in embeded system - New: now arg of test function is
*test_case(was*data) - Fix: fixed warning: variable data don't using
- Fix: use
__INCLUDE_LEVEL__inSTATIC_ASSERTfor fix ODR in headers - Fix:Makefile: rename
GCCtoCCuse standart name - New: add file name and line_num in
print_title - New: add
NULLto empty msg
- Ref: add color for digit + total
- Ref: add prefix stest_ for fix ODR
- Ref: add prefix
STESTforSIZE_OF_ARRAYmacro - Ref: use table in print_status
- Ref: use array for
status_xxx - Ref: rename Totatls -> Total (more correct)
- Ref: use
TEST_CASEmacro inMAIN_TESTS