BurntSushi / quickcheck

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

Use format!() less in testable_fn!() #147

Closed bluss closed 7 years ago

bluss commented 8 years ago

Use more of a runtime-level function to debug format each argument (using a slice of &Debug).

This results in much less code bloat from format!("{:?}") and reduces the crate's compile time a bit.

This also clones the argument tuple less.

Mitigates #146 a bit.