cmocka 2.0.0
Unit testing library with mock support
Loading...
Searching...
No Matches
API Reference
Here is a list of all topics with brief descriptions:
[detail level 12]
 📚 The CMocka APIUnit testing framework for C with support for mock objects
 🔨 Utility Macros and TypesType conversions, casting helpers, and common data structures
 🎪 Mock ObjectsSimulate objects and control function return values in tests
 ✅ Checking ParametersValidate function parameters match expected values
 🛡️ Assert MacrosVerify conditions and fail tests when assertions don't hold
 🔢 Call OrderingEnsure functions are called in the correct sequence
 ▶️ Running TestsExecute test suites with setup and teardown functions
 🧩 Dynamic Memory AllocationDetect memory leaks, buffer overflows, and allocation errors
 🎯 Standard AssertionsTest code that uses assert(3) from the standard C library
 🔧 Configuration and OutputControl test output formats and execution behavior
 📌 Version InformationQuery cmocka library version at compile time and runtime