Overview
Explore kernel testing methodologies in this 30-minute conference talk from linux.conf.au 2022. Dive into the KUnit kernel unit-testing framework, comparing it with other tools like kselftest. Learn about efforts to standardize test result formatting, including TAP and KTAP standards. Discover how to test complex or hardware-specific kernel code using KUnit, with insights on QEMU support in kunit_tool and SKIP test functionality. Gain valuable knowledge on writing fake structures and devices for testing purposes. Understand the importance of kernel testing, various testing tools, challenges faced in 2021, and upcoming developments in the field.
Syllabus
Intro
Why (and How) Should You Test the Kemel?
What test framework should I use?
Other Testing Tools
The Challenges Faced in 2021
A Test Result Format
Architectures and Tooling
Architecture support
Since Last Year's LCA
New Tests!
What's coming soon?
What do you want?
Taught by
linux.conf.au