Unit testing Linux kernel drivers
summary
Shows how to unit test Linux kernel drivers using mocks, specifically demonstrating the EasyMock mocking tool (authored by the speaker). Covers validating driver operational code by checking parameters passed to mocked functions and configuring mocks to return error codes, with included unit test examples using EasyMock.
AI-written summary · about
related talks
28mTesting Drivers with KUnit (Does hardware have to be hard?)
24mKUnit Testing Insufficiencies
20mHow to Mock in the 21st Century
01h 01mAdvanced Unit Testing in C & C++
44mKUnit - Unit Testing for the Linux Kernel
39mIntro to Mocking: Why Unit Testing Doesn't Have To Be So Hard
26mUnit Testing Memory Mapped Device Drivers
30mKernel Testing with KUnit: Bridging the Gap