Crate cargo_fixture

Crate cargo_fixture 

Source
Expand description

This is an accompanying library for the cargo fixture cargo extension.

The library provides two main types:

The with_fixture macros is provided as well for easy fixture tests definition.

§Features

The library supports the following async runtimes, selectable with a feature of the same name:

You have to activate exactly one of these features to use the library.

Re-exports§

pub use error::Error;
pub use error::Result;

Modules§

error
The library error type.

Structs§

FixtureClient
An RPC client used from fixture code.
TestClient
An RPC client used from test code.

Attribute Macros§

with_fixture
Annotate a test function as a fixture test.