Crate cargo_fixture
source ·Expand description
This is an accompanying library for the cargo fixture
cargo extension.
The library provides two main types:
FixtureClient
– to be used from fixture codeTestClient
– to be used from test code
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§
Modules§
- The library error type.
Structs§
- An RPC client used from fixture code.
- An RPC client used from test code.
Attribute Macros§
- Annotate a test function as a fixture test.