changed to automatically allow regex of test group name.

This commit is contained in:
jakeg00dwin 2025-06-21 14:18:15 -07:00
parent 593edd59f1
commit 487040e99b

View file

@ -12,7 +12,7 @@ extern "C"
#include "module_name.h" #include "module_name.h"
} }
TEST_GROUP(FirstTestGroup) TEST_GROUP(test_module_name)
{ {
void setup() void setup()
{ {
@ -24,12 +24,12 @@ TEST_GROUP(FirstTestGroup)
} }
}; };
TEST(FirstTestGroup, FirstTest) TEST(test_module_name, FirstTest)
{ {
FAIL("Fail me!"); FAIL("Fail me!");
} }
TEST(FirstTestGroup, SecondTest) TEST(test_module_name, SecondTest)
{ {
STRCMP_EQUAL("hello", "world"); STRCMP_EQUAL("hello", "world");
LONGS_EQUAL(1, 2); LONGS_EQUAL(1, 2);