Macro e2e_test
Source macro_rules! e2e_test {
($name:ident, $body:expr) => { ... };
}
Expand description
Macro for creating E2E tests with automatic harness setup and cleanup
§Example
ⓘe2e_test!(test_basic_hook, |harness| {
let result = harness.exec_rch(["--help"]).unwrap();
harness.assert_success(&result, "rch --help").unwrap();
});