BurntSushi / quickcheck

Automated property based testing for Rust (with shrinking).
The Unlicense
2.4k stars 149 forks source link

Edge cases #90

Closed clamydo closed 9 years ago

clamydo commented 9 years ago

Is it possible to also define edge cases beside the random data without implementing my own Arbitrary type?

Of course for such cases I could just use normal testing…

BurntSushi commented 9 years ago

The answer to all questions starting with: "How do I customize the data generated for testing properties?" is "Define your own type and impl the Arbitrary type."

BurntSushi commented 9 years ago

One form of relief here is the ability to export failing test cases and provide some way to re-run them. This is #40.