Development Tools::Testing
assert_fs
1.1.4 StableFilesystem fixtures and assertions for testing.
assert_cmd
2.2.2 StableTest CLI Applications.
pocket-ic
15.0.0 StablePocketIC: A Canister Smart Contract Testing Platform
codspeed-criterion-compat
5.0.1 StableCriterion.rs compatibility layer for CodSpeed
proptest
1.11.0 StableHypothesis-like property-based testing and shrinking.
trybuild
1.0.118 StableTest harness for ui tests of compiler diagnostics
snapbox
1.2.2 StableSnapshot testing toolbox
axum-test
21.0.0 StableEasy E2E testing for Axum
insta
1.48.0 StableA snapshot testing library for Rust
fixt
0.6.2 Growingminimum viable fixtures
trycmd
1.2.0 StableSnapshot testing for a herd of CLI tests
quickcheck
1.1.0 StableAutomatic property based testing with shrinking.
electrsd
0.41.0 GrowingUtility to run a regtest electrs process, useful in integration testing environment
arbitrary
1.4.2 GrowingThe trait for generating structured data from unstructured data
test-temp-dir
0.8.0 GrowingTemporary directories for use in tests
thirtyfour
0.37.2 GrowingThirtyfour is a Selenium / WebDriver library for Rust, for automated website UI testing. Tested on Chrome and Firefox, but any webdriver-capable browser should work.
nextest-filtering
0.21.3 GrowingFiltering DSL for cargo-nextest
bitcoind
0.41.0 GrowingUtility to run a regtest bitcoind process, useful in integration testing environments
egui_kittest
0.35.0 GrowingTesting library for egui based on kittest and AccessKit
serial_test
3.5.0 StableAllows for the creation of serialised Rust tests
arborium-test-harness
2.18.1 GrowingTest harness for arborium grammar crates
codspeed-divan-compat
5.0.1 StableDivan compatibility layer for CodSpeed
codspeed-divan-compat-macros
5.0.1 StableMacros for the Divan compatibility layer for CodSpeed
proptest-state-machine
0.8.0 GrowingState machine based testing support for proptest.
serde_test
1.0.177 GrowingToken De/Serializer for testing De/Serialize implementations
expect-json-macros
1.11.0 StableMacros for Expect Json
toml-test-data
2.13.0 StableTOML test cases
libtest-mimic
0.8.2 GrowingWrite your own test harness that looks and behaves like the built-in test harness used by `rustc --test`
derive_arbitrary
1.4.2 GrowingDerives arbitrary traits
chromey
2.53.0 GrowingConcurrent chrome devtools protocol automation library for Rust
mockito
1.7.2 StableHTTP mocking for Rust.
mockall
0.15.0 GrowingA powerful mock object library for Rust.
honggfuzz
0.5.61 GrowingFuzz your Rust code with Google-developped Honggfuzz !
cucumber
0.23.0 GrowingCucumber testing framework for Rust, with async support. Fully native, no external test runners or dependencies.
codspeed
5.0.1 StableCore instrumentation library for CodSpeed
cargo-nextest
0.9.140 GrowingA next-generation test runner for Rust.
hegeltest
0.27.1 ExperimentalProperty-based testing for Rust, built on Hypothesis
expect-json
1.11.0 StableFor comparisons on JSON data
toml-test-harness
1.13.0 StableCargo test harness for verifying TOML parsers
proptest-derive
0.8.0 GrowingCustom-derive for the Arbitrary trait of proptest.
wasm-smith
0.253.0 GrowingA WebAssembly test case generator
test-log
0.2.21 GrowingA replacement of the #[test] attribute that initializes logging and/or tracing infrastructure before running tests.
junit-parser
1.5.1 StableRust library to parse JUnit XML files
codspeed-bencher-compat
5.0.1 StableBencher compatibility layer for CodSpeed
snapbox-macros
1.1.0 StableSnapshot testing toolbox
test-case
3.3.1 GrowingProvides #[test_case(...)] procedural macro attribute for generating parametrized test cases easily
uselesskey-core
0.10.0 ExperimentalCore factory, deterministic derivation, and cache engine for uselesskey test fixtures.
roff
1.1.1 GrowingROFF (man page format) generation library
antithesis_sdk
0.2.9 GrowingRust SDK for the Antithesis autonomous software testing platform.
serial_test_derive
3.5.0 StableHelper crate for serial_test