subprocess_test

Macro subprocess_test 

Source
macro_rules! subprocess_test {
    (
        $(
            $(#[doc = $doc_lit:literal])*
            #[test $((
                $(env_var_name = $subp_var_name:literal $(,)?)?
                $(output_boundary = $subp_output_boundary:literal $(,)?)?
            ))?]
            $(#[$attrs:meta])*
            fn $test_name:ident () $(-> $test_result:ty)? $test_block:block
            $(verify |$success_param:ident, $stdout_param:ident| $verify_block:block)?
        )*
    ) => { ... };
    (
        @tokens_or_default { $($tokens:tt)+ } or { $($_:tt)* }
    ) => { ... };
    (
        @tokens_or_default { } or { $($tokens:tt)* }
    ) => { ... };
}
Expand description

Implementation of subprocess_test macro. See crate-level documentation for details and usage examples