# proptest-rs/proptest

Hypothesis-like property testing for Rust

Repository: https://github.com/proptest-rs/proptest
Canonical: https://ross.abutalabs.com/products/proptest
Language: Rust
License: Apache-2.0
License Family: permissive
Last push: 2026-08-21T20:59:56+00:00

## Health v2 (maintenance only)
Score: 67/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 98, release rhythm 8, longevity 100
- inputs: {"age_days": 3363, "days_push": 12, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 2222, forks 224 (observed 2026-08-28T04:06:27.655249+00:00)

## What it is
A Rust crate providing Hypothesis-like property-based testing with automatic test case shrinking. It generates random inputs to verify that properties hold across many cases and minimizes failing inputs.

## Use cases
- property-based testing for rust functions
- generate random test inputs automatically
- shrink failing test cases to minimal examples
- alternative to quickcheck in rust
- fuzz-like testing of parser invariants
- test serialization round-trips with random data

## When to choose
- you want hypothesis-style property testing in rust
- you need automatic shrinking of failing cases
- you want a mature, widely-used testing crate

## When to avoid
- you only need simple example-based unit tests
- you need coverage-guided fuzzing rather than property testing

## Facets
- artifact type: library
- maturity: stable
- function: testing, fuzzing
- domain: testing, developer-tools
- platform: rust
- tags: property-based-testing, shrinking, hypothesis, quickcheck, randomized-testing

## Member repositories
- proptest-rs/proptest (main) score 67

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:27.655249+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-30T02:45:46.101633+00:00, confidence not recorded.
  - readme: https://github.com/proptest-rs/proptest (fetched 2026-08-28T04:06:27.655249+00:00, sha 6fa2a627e063)
  - registry_crates: https://crates.io/api/v1/crates/proptest (fetched 2026-08-29T10:25:39.683389+00:00, sha 8fbf674435f1)
- Data as of 2026-08-30T08:39:29.467469+00:00.
