1
0
mirror of https://github.com/ThrowTheSwitch/Unity.git synced 2026-01-27 02:11:36 +01:00

Add verifyTest option to go with resetTest.

Fix docs.
This commit is contained in:
mvandervoord
2019-10-28 10:32:22 -04:00
parent 15631f1c78
commit be87d790c7
4 changed files with 28 additions and 7 deletions

View File

@@ -40,6 +40,18 @@ void tearDown(void);
void suiteSetUp(void);
int suiteTearDown(int num_failures);
/*-------------------------------------------------------
* Test Reset and Verify
*-------------------------------------------------------*/
/* These functions are intended to be called before during tests in order
* to support complex test loops, etc. Both are NOT built into Unity. Instead
* the test runner generator will create them. resetTest will run teardown and
* setup again, verifying any end-of-test needs between. verifyTest will only
* run the verification. */
void resetTest(void);
void verifyTest(void);
/*-------------------------------------------------------
* Configuration Options
*-------------------------------------------------------