Adding test_tools library as a dependency

Run this command in a terminal, in your project's directory:

cargo add --dev test_tools

to add it a dev dependency (if it's used only in tests, not in the final product). To add it as a regular run-time dependency, run:

cargo add test_tools

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

test_tools = "0.16.0"

The test_tools library will be automatically available globally. Read the test_tools library documentation.

Back to the crate overview.