WIP use catch2 instead of unity

This commit is contained in:
jacqueline
2022-11-08 10:55:42 +11:00
parent 1958b262ee
commit e219925fac
10 changed files with 18013 additions and 27 deletions
+1 -1
View File
@@ -1 +1 @@
idf_component_register(SRC_DIRS "." INCLUDE_DIRS "." REQUIRES cmock drivers)
idf_component_register(SRC_DIRS "." INCLUDE_DIRS "." REQUIRES catch2 cmock drivers)
+3 -3
View File
@@ -1,9 +1,9 @@
#include "unity.h"
#include "catch2/catch.hpp"
TEST_CASE("Example test case", "[cooltag]") {
TEST_ASSERT_EQUAL(0, 0);
REQUIRE ( 1 == 1 );
}
TEST_CASE("test that doesn't run", "[cooltag][ignore]") {
TEST_ASSERT_EQUAL(0, 1);
REQUIRE ( 0 == 1 );
}