la10736/rstest
Fixture-based test framework for Rust observed · 2026-10-20
Health v2 · maintenance only
96/100
- Activity 100
- Release rhythm 88
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-10-22. Adoption (stars, forks) is never an input.
- gap_med: 59
- age_days: 3146
- days_rel: 3
- days_push: 3
- n_releases_24m: 6
Adoption not part of the score
1593 stars · 77 forks observed · 2026-10-20
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
rstest is a fixture-based test framework for Rust built on procedural macros. It provides dependency injection via fixtures, table-based/parametrized tests, value lists, matrix tests, and async test timeouts.
Use cases
- inject shared test dependencies as function arguments in Rust tests
- run the same test against many input cases
- generate cartesian-product matrix tests
- reuse parametrized test definitions across multiple tests
- add timeouts to async Rust tests
When to choose
- you write Rust tests and want pytest-style fixtures and parametrization
- you need table-driven tests without boilerplate
- you want reusable test templates across test functions
When to avoid
- you prefer plain built-in cargo test with no macros
- your project avoids proc-macro compile-time dependencies
- you need a test runner rather than an extension of the built-in one
Facets
library · maturity stable
testing testing developer-tools rust fixtures parametrized-tests procedural-macros async-testing test-framework
2 sources
- readme: https://github.com/la10736/rstest · fetched 2026-10-20 · 6b1c0862e37a
- registry_crates: https://crates.io/api/v1/crates/rstest · fetched 2026-08-29 · 209142abdde9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| la10736/rstest | main | 96 |
For agents
Data as of 2026-10-19T08:05:51.212177+00:00 · Report a problem