# la10736/rstest

Fixture-based test framework for Rust

Repository: https://github.com/la10736/rstest
Canonical: https://ross.abutalabs.com/products/rstest
Language: Rust
License: Apache-2.0
License Family: permissive
Topics: rust, testing, testing-tools, test-framework
Last push: 2026-03-26T09:55:13+00:00

## Health v2 (maintenance only)
Score: 63/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 74, release rhythm 28, longevity 100
- inputs: {"age_days": 3097, "days_push": 160, "days_rel": 402, "gap_med": 76.5, "n_releases_24m": 5}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1576, forks 76 (observed 2026-08-28T04:05:06.034275+00:00)

## What it is
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
- artifact type: library
- maturity: stable
- function: testing
- domain: testing, developer-tools
- platform: rust
- tags: fixtures, parametrized-tests, procedural-macros, async-testing, test-framework

## Member repositories
- la10736/rstest (main) score 63

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:06.034275+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:57:25.344122+00:00, confidence not recorded.
  - readme: https://github.com/la10736/rstest (fetched 2026-08-28T04:05:06.034275+00:00, sha 6b1c0862e37a)
  - registry_crates: https://crates.io/api/v1/crates/rstest (fetched 2026-08-29T11:27:26.382579+00:00, sha 209142abdde9)
- Data as of 2026-08-30T08:39:29.467469+00:00.
