~/talk

KUnit - Unit Testing for the Linux Kernel

Talkat linux.conf.au 2020 · 2020-01-13..01-17· [testing, linux-and-operating-systems]
links:none on file
slides:none on file

KUnit is a lightweight in-kernel unit test framework that is merged upstream for 5.5 and already provides ~100 test cases across about seven suites and has uncovered several real bugs. Tests run in usermode Linux by default and the tooling builds and executes suites automatically, with module support landing for later releases; a resource-management API exists and mocking/faking is planned. The goal is very fast, hermetic unit tests—suites that can run in under 100 ms—and integration into kernel CI.

AI-written summary · about

  1. 0:00Start
  2. 5:27What's unit testing?
  3. 6:15Types of Testing
  4. 11:57KUnit Example
  5. 22:33What are KUnit's current challenges?
  6. 25:01Where does KUnit fit into the kernel's test paradigm?
  7. 32:47What we are planning on doing in the future?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.