Rust testing libraries
Test runners, mocking, property and snapshot testing for Rust, ranked by GitHub stars
آخر تحديث · GitHub stars (stars)
لماذا هؤلاء العشرون
Ranked by GitHub stars: how many developers bookmarked the project. Stars measure attention, not quality, so each row also shows forks, licence and the last push. Tools without a public repository have no star count and can't be ranked here.
-
1
nextest-rs/nextest
cargo-nextest] - Next-generation test runner for Rust with parallel test execution, faster test runs, advanced filtering, and rich output.
3,404 stars 183 forkslast push 2026-11-20RustApache-2.0
-
2
mitsuhiko/insta
insta] - A snapshot testing library for Rust.
2,988 stars 173 forkslast push 2026-10-26RustApache-2.0
-
3
-
4
asomers/mockall
mockall] - A powerful mock object library.
1,853 stars 84 forkslast push 2026-11-03RustApache-2.0
-
5
-
6
cargo-mutants
cargo-mutants] - Finds inadequately tested code by injecting mutations, no source changes required.
1,403 stars 74 forkslast push 2026-10-19RustMIT
-
7
trust
A Travis CI and AppVeyor template to test your Rust crate on 5 architectures and publish binary releases of it for Linux, macOS and Windows
1,272 stars 58 forkslast push 2022-11-15ShellApache-2.0
-
8
-
9
-
10
mutagen
mutagen] - A source-level mutation testing framework (nightly only)
643 stars 32 forkslast push 2023-05-29RustApache-2.0
-
11
-
12
minikin/cargo-crap
cargo-crap] - Finds complex, untested functions by combining cyclomatic complexity with LCOV coverage (the CRAP metric) and gates CI on the score
435 stars 12 forkslast push 2026-11-20RustMIT
-
13
Ackee-Blockchain/trident
Fuzzing framework for Solana smart contracts with manually-guided testing, flow-based sequences, and property-based validation
409 stars 60 forkslast push 2026-05-18RustMIT
-
14
palfrey/serial_test
serial_test] - Run tests serially, either as a whole or in named groups
294 stars 31 forkslast push 2026-11-08RustMIT
-
15
rlt
A universal load testing framework, with real-time tui support.
231 stars 16 forkslast push 2026-09-05RustMIT
-
16
padamson/playwright-rust
playwright-rs] - Rust bindings for Microsoft Playwright: cross-browser end-to-end testing (Chromium, Firefox, WebKit) with auto-waiting locators and trace capture.
169 stars 20 forkslast push 2026-11-20RustApache-2.0
-
17
supercorp-ai/supercov
supercov] - Code quality and test coverage for coding agents: Jev scores each source file so the agent knows what to fix first
167 stars 8 forkslast push 2026-11-21RustMIT
-
18
d-e-s-o/test-log
test-log] - A replacement of the attribute that initializes logging and/or tracing infrastructure before running tests.
163 stars 43 forkslast push 2026-09-09RustApache-2.0
-
19
hovinen/test-that
test-that] - An assertion library for Rust, based on GoogleTest Rust and from its original author.
110 stars 0 forkslast push 2026-11-16RustApache-2.0
-
20
المراجع
- rust-unofficial/awesome-rust: Testing, GitHub community list (list text CC0; star counts from the GitHub API). Checked 2026-11-21 01:48 UTC.
- rust-unofficial/awesome-rust (Testing), GitHub community list, 26 tools with a public repository.