Nov 13 – 15, 2023
America/New_York timezone

Storing and Outputting Test Information: KUnit Attributes and KTAPv2

Nov 13, 2023, 10:05 AM
"Potomac G" (Omni Richmond Hotel)

"Potomac G"

Omni Richmond Hotel

Kernel Testing & Dependability MC Kernel Testing & Dependability MC


Rae Moar


Current kernel testing frameworks save basic test information including test names, results, and even some diagnostic data. But to what extent should frameworks store supplemental test information? This could include test speed, module name, file path, and even parameters for parameterized tests.

Storing this information could greatly improve the kernel developer experience by allowing test frameworks to filter out unwanted tests, include helpful information in KTAP results, and possibly populate auto-generated documentation. I have been working on the new KUnit Test Attributes feature that could be part of this solution to store and access test-associated data.

But what test attributes should we be saving? How should test-associated data be formatted in KTAP? And what possibilities does this open with parameterized tests (filtering based on parameters or even parameter injection)?

Primary author

Presentation materials

Diamond Sponsors

Platinum Sponsor
Gold Sponsors

Silver Sponsors

Catchbox Sponsor
Livestream Sponsors

T-Shirt Sponsor
Conference Services Provided by