Add a unit test app + example tests

This commit is contained in:
jacqueline
2022-11-07 16:38:58 +11:00
parent c29c218b85
commit 6584060296
10 changed files with 86 additions and 32 deletions
+1
View File
@@ -0,0 +1 @@
idf_component_register(SRC_DIRS "." INCLUDE_DIRS "." REQUIRES cmock drivers)
+9
View File
@@ -0,0 +1,9 @@
#include "unity.h"
TEST_CASE("Example test case", "[cooltag]") {
TEST_ASSERT_EQUAL(0, 0);
}
TEST_CASE("test that doesn't run", "[cooltag][ignore]") {
TEST_ASSERT_EQUAL(0, 1);
}