提交 41ee499e 编写于 作者: M Mark VanderVoord

Tiny tweaks to make Unity fit in more smoothly with Ceedling

上级 1f522558
......@@ -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
......
......@@ -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)
*-------------------------------------------------------*/
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册