mirror of
https://github.com/ThrowTheSwitch/Unity.git
synced 2026-01-23 00:15:58 +01:00
- made RUN_TEST so that it doesn't require a custom runTest by default
- updated generator to lay simple foundation for parameterized test support git-svn-id: http://unity.svn.sourceforge.net/svnroot/unity/trunk@101 e7d17a6e-8845-0410-bbbc-c8efb4fdad7e
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -8,14 +8,10 @@ Unity Test API
|
||||
Running Tests
|
||||
-------------
|
||||
|
||||
RUN_TEST(func)
|
||||
RUN_TEST(func, linenum)
|
||||
|
||||
Each Test is run within the macro RUN_TEST. This macro performs necessary setup before the test is called and handles cleanup and result tabulation afterwards.
|
||||
|
||||
TEST_WRAP(function)
|
||||
|
||||
If the test functions call helper functions and those helper functions have the ability to make assertions, calls to those helpers should be wrapped in a TEST_WRAP macro. This macro aborts the test if the helper triggered a failure.
|
||||
|
||||
--------------
|
||||
Ignoring Tests
|
||||
--------------
|
||||
|
||||
Reference in New Issue
Block a user