Learn AI, Data Science & Business — Earn Certificates That Get You Hired
Build GenAI Apps from Scratch — UCSB PaCE Certificate Program
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 challenges and solutions for implementing KUnit, the Linux kernel's unit testing framework, in this 16-minute conference talk from the Linux Plumbers Conference. Examine why Android kernel changes rarely include KUnit tests despite the framework's availability, focusing on barriers such as the perceived inability to handle complex use cases and the monotony of test writing. Learn about patterns where KUnit falls short and engage in discussions about when to enhance KUnit functionality versus when to refactor code under test to improve testability. Discover how code testability serves as a quality measure in software engineering and consider the trade-offs between refactoring existing features for testing purposes and potential increases in memory footprint. Gain insights into improving kernel test coverage by understanding when structural changes to subsystems may be necessary to accommodate proper testing practices.
Syllabus
How do we make KUnit work for us? - Tiffany Yang (Google)
Taught by
Linux Plumbers Conference