Unit testing and mocking with cmocka
summary
Covers the cmocka C unit-testing framework, focusing on its mocking support for creating mock objects and controlling their behavior. Shows how to use cmocka to unit-test C functions that were previously hard or impossible to test by instructing mocked dependencies how to behave.
AI-written summary · about
related talks
01h 01mAdvanced Unit Testing in C & C++
33mMock Me If You Can: Using Mocks in Container Applications for Integration Testing
24mKUnit Testing Insufficiencies
39mIntro to Mocking: Why Unit Testing Doesn't Have To Be So Hard
27mReal World Mocking in Swift
20mMock, patch - when and how to use
46mUnit-Testing With Ease
49mFor those about to Mock I salute you!
