Lines Matching refs:KUnit

4 KUnit Architecture
7 The KUnit architecture is divided into two parts:
15 The kernel testing library supports KUnit tests written in C using
16 KUnit. These KUnit tests are kernel code. KUnit performs the following
26 The test case is the fundamental unit in KUnit. KUnit test cases are organised
27 into suites. A KUnit test case is a function with type signature
34 Each KUnit test case receives a ``struct kunit`` context object that tracks a
35 running test. The KUnit assertion macros and other KUnit utilities use the
47 A KUnit suite includes a collection of test cases. The KUnit suites
72 with the KUnit test framework.
77 The KUnit executor can list and run built-in KUnit tests on boot.
84 macro. The KUnit executor iterates over the linker section array in order to
88 :alt: KUnit Suite Memory
90 KUnit Suite Memory Diagram
92 On the kernel boot, the KUnit executor uses the start and end addresses
100 In KUnit tests, some error classes do not affect other tests
101 or parts of the kernel, each KUnit case executes in a separate thread
108 KUnit tests verify state using expectations/assertions.
140 KUnit prints the test results in KTAP format. KTAP is based on TAP14, see
142 KTAP works with KUnit and Kselftest. The KUnit executor prints KTAP results to
148 Each KUnit parameterized test is associated with a collection of
162 You have two options for running KUnit tests: either build the kernel with KUnit
185 To build a KUnit kernel from the current ``.config``, you can use the
191 If you already have built a kernel with built-in KUnit tests,