macro_rules! quick_test {
($provider:expr, $( $value:expr ),+) => { ... };
}
Expand description
Convenient generation of query results.
Takes an implementor of IsProvider
as first argument and an
aribtrary amount of Result<String, ExecutionError>
as further arguments. The second parameter
and all following are given as mock input to the Provider
impl and are retrieved by
subsequent calls to e.g. Environment::output_of()
in
the order specified.
The search term passed in the test is ‘my-test-app’, in case your application has to match against it.