The Linux Kernel
5.10.0
The Linux kernel user’s and administrator’s guide
Kernel Build System
The Linux kernel firmware guide
Open Firmware and Device Tree
The Linux kernel user-space API guide
Working with the kernel development community
Development tools for the kernel
Coccinelle
Sparse
kcov: code coverage for fuzzing
Using gcov with the Linux kernel
The Kernel Address Sanitizer (KASAN)
The Undefined Behavior Sanitizer - UBSAN
Kernel Memory Leak Detector
The Kernel Concurrency Sanitizer (KCSAN)
Debugging kernel and modules via gdb
Using kgdb, kdb and the kernel debugger internals
Linux Kernel Selftests
KUnit - Unit Testing for the Linux Kernel
Getting Started
Using KUnit
kunit_tool How-To
API Reference
Test API
Test Style and Nomenclature
Frequently Asked Questions
What is KUnit?
Why KUnit?
How do I use it?
How to write kernel documentation
Kernel Hacking Guides
Linux Tracing Technologies
Kernel Maintainer Handbook
fault-injection
Kernel Livepatching
The Linux driver implementer’s API guide
Core API Documentation
locking
Accounting
Block
cdrom
Linux CPUFreq - CPU frequency and voltage scaling code in the Linux(TM) kernel
Integrated Drive Electronics (IDE)
Frame Buffer
fpga
Human Interface Devices (HID)
I2C/SMBus Subsystem
Industrial I/O
ISDN
InfiniBand
LEDs
NetLabel
Linux Networking Documentation
pcmcia
Power Management
TCM Virtual Device
timers
Serial Peripheral Interface (SPI)
1-Wire Subsystem
Linux Watchdog Support
Linux Virtualization Support
The Linux Input Documentation
Linux Hardware Monitoring
Linux GPU Driver Developer’s Guide
Security Documentation
Linux Sound Subsystem Documentation
Linux Kernel Crypto API
Filesystems in the Linux kernel
Linux Memory Management Documentation
BPF Documentation
USB support
Linux PCI Bus Subsystem
Linux SCSI Subsystem
Assorted Miscellaneous Devices Documentation
Linux Scheduler
MHI
Assembler Annotations
ARM Architecture
ARM64 Architecture
IA-64 Architecture
m68k Architecture
MIPS-specific Documentation
Linux on the Nios II architecture
OpenRISC Architecture
PA-RISC Architecture
powerpc
RISC-V architecture
s390 Architecture
SuperH Interfaces Guide
Sparc Architecture
x86-specific Documentation
Xtensa Architecture
ext4 Data Structures and Algorithms
Unsorted Documentation
Atomic Types
Atomic bitops
Memory Barriers
General notification mechanism
Translations
The Linux Kernel
Docs
»
Development tools for the kernel
»
KUnit - Unit Testing for the Linux Kernel
»
API Reference
View page source
API Reference
¶
Test API
This section documents the KUnit kernel testing API. It is divided into the following sections:
Test API
documents all of the standard testing API excluding mocking or mocking related features.