From 62eb12d58421a6110b2915eca0e97c1bfada95bf Mon Sep 17 00:00:00 2001 From: Jacob Hageman Date: Mon, 11 Jan 2021 14:55:13 -0500 Subject: [PATCH] Fix #577, Document nested tests not supported --- ut_assert/inc/uttest.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ut_assert/inc/uttest.h b/ut_assert/inc/uttest.h index b5bc71adb..d79ac8bee 100644 --- a/ut_assert/inc/uttest.h +++ b/ut_assert/inc/uttest.h @@ -43,6 +43,11 @@ * * Called by the user to register a new test case with the library. * + * Note: Nested addition of tests is not supported. Calling + * UtTest_Add from within a test function added using UtTest_Add + * will not cause the nested test to execute, and will be + * silently ignored. + * * \param Test Main test function to call. * \param Setup Setup function, called before the test function * \param Teardown Cleanup function, called after the test function