Conference Schedule - BSDCan 2022

Sysunit: Unit Testing for the FreeBSD Kernel

Date: 2022-06-04
Time: 14:30 - 15:15
Room: Stream 3
Level: Intermediate
All times are Ottawa / New York (UTC-4).

Introducing Sysunit, a unit testing framework for the FreeBSD kernel. Sysunit allows small pieces of kernel code to be run and tested entirely in userland. This significantly shortens the testing cycle and opens up opportunities to write tests for scenarios that are very difficult to induce on a running kernel.

This talk will introduce the basics of unit testing and how Sysunit adapts them to the FreeBSD kernel, discuss how unit testing can complement FreeBSD's testing strategy, and then walk developers through the process of writing and executing their own Sysunit tests.

Speaker

Ryan Stone