proptest
CommunityProperty-based testing for Rust made practical.
Authorpatrykgz
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Property-based testing helps ensure correctness by verifying invariants across various inputs and shrinking failing cases to minimal examples.
Core Features & Use Cases
- Property-based testing of Rust code using proptest, generating arbitrary data with strategies.
- Shrinking: automatically reduces failing inputs to minimal counterexamples for easier debugging.
- Optional: derive Arbitrary using proptest-derive for custom types.
- Use Case: ensure a function behaves correctly for edge values across many inputs.
Quick Start
Write a proptest-based test that asserts a property holds for arbitrary inputs using the proptest! macro.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: proptest Download link: https://github.com/patrykgz/rust-devagent-loop-template/archive/main.zip#proptest Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.