# quickcheck (Rust)

> Property-based testing for Rust with randomly generated inputs and shrinking

Source: https://talira.ai/catalog/quickcheck-rust-jnqtraq1
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: Unlicense OR MIT[^1][^2]
- Pricing: Free and open source[^1]
- Free tier: yes[^1]
- Backed by: [Andrew Gallant](https://talira.ai/orgs/andrew-gallant.md)

quickcheck is a Rust crate for property-based testing: given a property function, it randomly generates inputs (integers, floats, tuples, booleans, lists, strings, options and results), calls the property for each, and when one fails shrinks the input to a smaller counter-example, using the same binary-search strategy as [QuickCheck](https://talira.ai/catalog/quickcheck-ms7ypda7.md) for Haskell. The quickcheck_macros crate adds a #[quickcheck] attribute that turns a property into a test. Its README points to [Proptest](https://talira.ai/catalog/proptest-j5n0b2nq.md) for better shrinking.

## Links

- GitHub: https://github.com/BurntSushi/quickcheck
- Docs: https://docs.rs/quickcheck

## Problems it solves

- test a Rust function against many random inputs
- find the smallest input that breaks my Rust code
- write property-based tests in Rust

## Features

- random input generation for common Rust types
- shrinking of failing inputs to a smaller counter-example
- quickcheck! macro and #[quickcheck] test attribute
- discarding inputs outside a property's subset

## Limitations

- Its Arbitrary implementations may change between semver-compatible releases, which can surface new test failures.[^1]

## Trust

Overall: 0.40 out of 1.
Signals: maintenance 0.27, adoption 0.69, momentum 0.39, community 0.79, backing 0.30, extensibility 0.00.

- 2.8k GitHub stars
- 93 contributors
- backed by Andrew Gallant

Warnings:

- last commit 8 months ago

## Alternatives

- [Proptest](https://talira.ai/catalog/proptest-j5n0b2nq.md): Hypothesis-style property-based testing with shrinking for Rust
- [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/BurntSushi/quickcheck#readme (checked 28 Nov 2026)
[^2]: https://github.com/BurntSushi/quickcheck/blob/master/UNLICENSE (checked 28 Nov 2026)
