test_function

Macro test_function 

Source
macro_rules! test_function {
    ($name:ident, $test_fn:expr) => { ... };
}
Expand description

Macro to create individual test functions that can be run independently This makes the framework compatible with cargo test and existing test libraries Note: Hooks are only executed when using the main test runner, not individual macros