vfs::test_utils::run

Function test_client

Source
pub fn test_client<'test_refs, GetClient, GetClientRes>(
    get_client: GetClient,
) -> AsyncClientTestParams<'test_refs>
where GetClient: FnOnce() -> GetClientRes + 'test_refs, GetClientRes: Future<Output = ()> + 'test_refs,
Expand description

Collects a basic required set of parameters for a client-only test. Additional parameteres can be specified using exec, and coordinator methods via a builder patter. Actual execution of the test happen when AsyncClientTestParams::run() method is invoked.