Tiny tweaks to make Unity fit in more smoothly with Ceedling

This commit is contained in:
Mark VanderVoord
2017-03-13 16:46:41 -04:00
parent 1f522558a6
commit 41ee499e63
2 changed files with 5 additions and 0 deletions

View File

@ -27,6 +27,7 @@ class UnityTestRunnerGenerator
:plugins => [],
:framework => :unity,
:test_prefix => "test|spec|should",
:mock_prefix => "Mock",
:setup_name => "setUp",
:teardown_name => "tearDown",
:main_name => "main", #set to :auto to automatically generate each time

View File

@ -74,6 +74,10 @@ void tearDown(void);
* This method allows you to abort a test immediately with a PASS state, ignoring the remainder of the test. */
#define TEST_PASS() TEST_ABORT()
/* This macro does nothing, but it is useful for build tools (like Ceedling) to make use of this to figure out
* which files should be linked to in order to perform a test. Use it like TEST_FILE("sandwiches.c") */
#define TEST_FILE(a)
/*-------------------------------------------------------
* Test Asserts (simple)
*-------------------------------------------------------*/