SHORTLIST20
हिन्दी
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
प्रोग्रामिंग

Rust testing libraries

Test runners, mocking, property and snapshot testing for Rust, ranked by GitHub stars

अपडेट · GitHub stars (stars)

ये 20 ही क्यों

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. 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. 2

    mitsuhiko/insta

    insta] - A snapshot testing library for Rust.

    2,988 stars 173 forkslast push 2026-10-26RustApache-2.0

  3. 3

    rust-fuzz/afl.rs

    A Rust fuzzer, using AFL

    1,862 stars 119 forkslast push 2026-11-09RustApache-2.0

  4. 4

    asomers/mockall

    mockall] - A powerful mock object library.

    1,853 stars 84 forkslast push 2026-11-03RustApache-2.0

  5. 5

    synth

    Generate database data declaratively.

    1,487 stars 110 forkslast push 2024-09-27RustApache-2.0

  6. 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. 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. 8

    fake-rs

    A library for generating fake data

    1,246 stars 129 forkslast push 2026-09-15RustApache-2.0

  9. 9

    httpmock/httpmock

    HTTP mocking

    687 stars 61 forkslast push 2026-11-09RustMIT

  10. 10

    mutagen

    mutagen] - A source-level mutation testing framework (nightly only)

    643 stars 32 forkslast push 2023-05-29RustApache-2.0

  11. 11

    nrxus/faux

    A library to create mocks out of structs.

    488 stars 20 forkslast push 2025-09-27RustMIT

  12. 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. 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. 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. 15

    rlt

    A universal load testing framework, with real-time tui support.

    231 stars 16 forkslast push 2026-09-05RustMIT

  16. 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. 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. 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. 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. 20

    mocktail

    HTTP & gRPC server mocking for Rust

    88 stars 11 forkslast push 2026-04-16RustApache-2.0

कैसे मापा गया

Every tool in the Testing section(s) of the community list rust-unofficial/awesome-rust on GitHub with a public repository, ranked by GitHub stars from the GitHub API; archived repositories are left out. Added by the daily list generator.

संदर्भ

  1. rust-unofficial/awesome-rust: Testing, GitHub community list (list text CC0; star counts from the GitHub API). Checked 2026-11-21 01:48 UTC.
  2. rust-unofficial/awesome-rust (Testing), GitHub community list, 26 tools with a public repository.