KUnit Testing Insufficiencies - Scalability and Integration Challenges for High-Integrity Applications
Linux Plumbers Conference via YouTube
PowerBI Data Analyst - Create visualizations and dashboards from scratch
Save 43% on 1 Year of Coursera Plus
Overview
Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
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