Skip to main content

Crate axtest

Crate axtest 

Source

Re-exports§

pub use print::AxTestPrintFn;
pub use print::set_printer;

Modules§

prelude
print

Macros§

ax_assert
ax_assert_eq
ax_assert_ne
axtest_println

Structs§

AxTestDescriptor
C-compatible descriptor emitted for each registered test case.
AxTestInitBuilder
AxTestModHookDescriptor
Linker-collected descriptor for a module’s optional init/exit hooks.
InlineExecutor
Default executor that runs the test function inline.
KernelTestConfig
Runtime callbacks used by the common kernel axtest entry point.
TestSummary
Aggregated test statistics for a full test session.

Enums§

AxTestExecutionMode
Execution policy attached to a test descriptor.
AxTestResult
Logical outcome produced by one test function.
TestRunResult
Runtime status for one test after applying framework-level rules.

Traits§

AxTestExecutor
Abstraction for how a single test function is executed.

Functions§

call_module_exit
Invoke module exit hook if this module registered one.
call_module_init
Invoke module init hook if this module registered one.
dump_coverage
init
Start executor initialization with fluent builder style.
run_kernel_tests
Run all registered tests and terminate the kernel test target.
set_coverage_wait_fn

Attribute Macros§

axtest
Define and register a test case for the axtest runtime.
def_mod
Define a test module that is only compiled under cfg(axtest).
def_test
tests
Define an axtest module and generate the kernel test entry point.