macro_rules! tests {
($($(#[$attr:meta]) * fn $name:ident $params:tt $body:tt) *) => { ... };
}
Expand description
Convenience macro for generating a test module from a set of functions
It also pre-imports everything from the outer module
macro_rules! tests {
($($(#[$attr:meta]) * fn $name:ident $params:tt $body:tt) *) => { ... };
}
Convenience macro for generating a test module from a set of functions
It also pre-imports everything from the outer module