Re-exports§
pub use macros::klib::KlibConfig;pub use macros::klib::KlibConfigBuilder;pub use test::runner::runner;
Modules§
Macros§
- debugcon_
print - Print to the debug console
- debugcon_
println - Print to the debug console, with a newline
- klib
klib!function-like macro- serial_
print - Print to the global serial port
- serial_
println - Print to the global serial port, with a newline
Functions§
- init_
harness - Initialize the test harness with the given test group. This function should be called before the main test function is called.
- panic
- A panic handler that delegates to the test runner’s panic handler. This should be
included in libraries which use
ktestto allow recovery from panics during tests.
Attribute Macros§
- ktest
- Re-export the test runner function for use in test binaries.
#[ktest]attribute macro