This library provides miscellaneous utility functions for unit and integration tests in Rust.
Crate Features
Most crate features are enabled by default. The only exception are overly-specific features that are costly to build.
Not enabled by default:
server
:- Enables support for [
TestServer
]. - Includes the [
warp
] and [tokio
] re-exports.
- Enables support for [
All other features are enabled by default:
diff
: support for the text diff functions.exec
: support for the binary execution functions.temp
: helpers for managing temporary directories and files.testdata
: support for file based tests.text
: text utility functions.
To disable the default features and opt into specific ones, change the
dependency in your Cargo.toml
:
[]
= { = "...", = false, = ["..."] }