mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
Added example
* Added example that uses unity test fixture
This commit is contained in:
12
examples/example_2/test/test_runners/all_tests.c
Normal file
12
examples/example_2/test/test_runners/all_tests.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include "unity_fixture.h"
|
||||
|
||||
static void RunAllTests(void)
|
||||
{
|
||||
RUN_TEST_GROUP(ProductionCode);
|
||||
RUN_TEST_GROUP(ProductionCode2);
|
||||
}
|
||||
|
||||
int main(int argc, char * argv[])
|
||||
{
|
||||
return UnityMain(argc, argv, RunAllTests);
|
||||
}
|
||||
Reference in New Issue
Block a user