# Proptest

> Hypothesis-style property-based testing with shrinking for Rust

Source: https://talira.ai/catalog/proptest-j5n0b2nq
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [developer tools / testing / property based](https://talira.ai/categories/developer-tools/testing/property-based), [languages / rust](https://talira.ai/categories/languages/rust)
- Licence: MIT OR Apache-2.0[^2][^3][^4]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [proptest-rs](https://talira.ai/orgs/proptest-rs.md)

Proptest is a property testing framework for [Rust](https://talira.ai/catalog/rust-mf51vs5t.md) in the QuickCheck family, inspired by Python's Hypothesis. It checks that properties of your code hold for arbitrary generated inputs, and when it finds a failure it shrinks the input to a minimal test case. Unlike [QuickCheck](https://talira.ai/catalog/quickcheck-ms7ypda7.md), generation and shrinking are defined per value rather than per type, which makes strategies easier to compose. proptest-derive generates strategies for your own types, and its makers say it's close to feature-complete and mainly passively maintained.

## Links

- Website: https://proptest-rs.github.io/proptest/
- GitHub: https://github.com/proptest-rs/proptest
- Docs: https://docs.rs/proptest/latest/proptest/

## Problems it solves

- test my Rust function against thousands of random inputs instead of hand-picked cases
- get the smallest input that breaks my Rust code when a test fails
- find edge cases my unit tests miss in a parser

## Features

- property tests over automatically generated inputs
- automatic shrinking to a minimal failing case
- per-value generation and shrinking strategies that compose
- derive strategies for your own types with proptest-derive

## Limitations

- Its makers describe it as close to feature-complete and mainly passively maintained.[^1]

## Trust

Overall: 0.50 out of 1.
Signals: maintenance 0.56, adoption 0.67, momentum 0.40, community 0.81, backing 0.30, extensibility 0.00.

- last commit 50 days ago
- 17 commits in the last 90 days
- latest release 0.9.6 6.6 years ago
- 2.3k GitHub stars
- 103 contributors
- backed by proptest-rs

## Alternatives

- [quickcheck (Rust)](https://talira.ai/catalog/quickcheck-rust-jnqtraq1.md): Property-based testing for Rust with randomly generated inputs and shrinking
- [Ephyra](https://talira.ai/catalog/ephyra-35511ht4.md): Rust property-based testing library where a coding agent writes and tunes the generators

## Sources

[^1]: https://github.com/proptest-rs/proptest#readme (checked 28 Nov 2026)
[^2]: https://github.com/proptest-rs/proptest/blob/main/proptest/Cargo.toml (checked 28 Nov 2026)
[^3]: https://github.com/proptest-rs/proptest/blob/main/LICENSE-MIT (checked 28 Nov 2026)
[^4]: https://github.com/proptest-rs/proptest/blob/main/LICENSE-APACHE (checked 28 Nov 2026)
