KUnit Testing Insufficiencies - Scalability and Integration Challenges for High-Integrity Applications
Linux Plumbers Conference via YouTube
Learn EDR Internals: Research & Development From The Masters
Build the Finance Skills That Lead to Promotions — Not Just Certificates
Overview
Google, IBM & Meta Certificates — All 10,000+ Courses at 40% Off
One annual plan covers every course and certificate on Coursera. 40% off for a limited time.
Get Full Access
Explore the limitations and challenges of KUnit testing framework for Linux kernel development in this 24-minute conference talk from the Linux Plumbers Conference. Examine how current KUnit testing approaches fall short of meeting the rigorous requirements for high-integrity applications, particularly in environments with strict certification standards. Learn about the scalability issues that arise when KUnit tests are integrated directly into the Linux binary, requiring kernel builds and execution for testing, which becomes problematic when thousands of tests are needed for comprehensive coverage. Discover the maintenance challenges created by the need to build multiple kernels with different test sets and analyze how these modifications impact test fidelity. Understand the framework's lack of essential features for testing highly reliable systems, including the absence of consistent, maintainable methods for isolating small code sections and the complex manual process required for mocking function dependencies. Gain insights into proposed solutions including the development of unit test capabilities that allow compilation and testing of isolated Linux kernel source sections out of tree, the ability to test kernel source in user space environments, and the integration of automated mocking for test dependencies.
Syllabus
KUnit Testing Insufficiencies - Matthew Whitehead (The Boeing Company)
Taught by
Linux Plumbers Conference