|
cmocka 2.0.0
Unit testing library with mock support
|
| 📚 The CMocka API | Unit testing framework for C with support for mock objects |
| 🔨 Utility Macros and Types | Type conversions, casting helpers, and common data structures |
| 🎪 Mock Objects | Simulate objects and control function return values in tests |
| ✅ Checking Parameters | Validate function parameters match expected values |
| 🛡️ Assert Macros | Verify conditions and fail tests when assertions don't hold |
| 🔢 Call Ordering | Ensure functions are called in the correct sequence |
| ▶️ Running Tests | Execute test suites with setup and teardown functions |
| 🧩 Dynamic Memory Allocation | Detect memory leaks, buffer overflows, and allocation errors |
| 🎯 Standard Assertions | Test code that uses assert(3) from the standard C library |
| 🔧 Configuration and Output | Control test output formats and execution behavior |
| 📌 Version Information | Query cmocka library version at compile time and runtime |