The doc says that everything in the macro is printed out at the beginning of the test. However, in my environment of mingw64 in msys2 on windows, the following snippet doesn't print the message.
#include <exotic/cester.h>
CESTER_COMMENT(
This is a multiline comment in \n
the source code this text is printed out \n
before any test cases is executed.
)
CESTER_TEST(foo_bar, test_instance,
cester_assert_cmp_msg(10,>,2,"is 10 greater than 2");
)
CESTER_TEST(foo_zoo, test_instance,
cester_assert_int_gt(1, 2);
)
After compiling it with gcc test.c -I. -o test, the exe only prints the test results without the comment at the beginning. Am I missing anything?
The doc says that everything in the macro is printed out at the beginning of the test. However, in my environment of mingw64 in msys2 on windows, the following snippet doesn't print the message.
After compiling it with
gcc test.c -I. -o test, the exe only prints the test results without the comment at the beginning. Am I missing anything?