macro_rules! forgetest {
($(#[$attr:meta])* $test:ident, |$prj:ident, $cmd:ident| $e:expr) => { ... };
($(#[$attr:meta])* $test:ident, $style:expr, |$prj:ident, $cmd:ident| $e:expr) => { ... };
}Expand description
A macro to generate a new integration test case
The forgetest! macro’s first argument is the name of the test, the second argument is a
closure to configure and execute the test. The TestProject provides utility functions to setup
the project’s workspace. The TestCommand is a wrapper around the actual forge executable
that this then executed with the configured command arguments.