TEST_CASE(test_case_name)
Defines a test case function with the following type int test_case_name(void). This can then be called from regression test's TEST_SUITE() function.
| Arguments | Description |
|---|---|
| test_case_name | Used as the function name for this test case. |
Return value is 0 if the test case passed; nonzero if it failed. Generally, the return code is not used. It is expected that the case will pass/fail with tests done using TEST_ASSERT().
TEST_CASE(config_test_insert) { .... }