doc: Document Standard Assertions group.
diff --git a/include/cmocka.h b/include/cmocka.h
index 6c96bea..eaa882a 100755
--- a/include/cmocka.h
+++ b/include/cmocka.h
@@ -838,6 +838,24 @@
/** @} */
+
+/**
+ * @defgroup cmocka_mock_assert Standard Assertions
+ * @ingroup cmocka
+ *
+ * How to handle assert(3) of the standard C library.
+ *
+ * Runtime assert macros like the standard C library's assert() should be
+ * redefined in modules being tested to use cmocka's mock_assert() function.
+ * Normally mock_assert() signals a test failure. If a function is called using
+ * the expect_assert_failure() macro, any calls to mock_assert() within the
+ * function will result in the execution of the test. If no calls to
+ * mock_assert() occur during the function called via expect_assert_failure() a
+ * test failure is signalled.
+ *
+ * @{
+ */
+
/*
* Ensure mock_assert() is called. If mock_assert() is called the assert
* expression string is returned.
@@ -871,6 +889,8 @@
} \
}
+/** @} */
+
/* Function prototype for setup, test and teardown functions. */
typedef void (*UnitTestFunction)(void **state);