top | item 13252048

(no title)

mgurlitz | 9 years ago

This library does more than "random" testing: when it finds a failure, it will try to reduce the input (called "shrinking") to report a minimal example. Here are some similar tools for other languages: http://hypothesis.works/articles/quickcheck-in-every-languag...

discuss

order

burntsushi|9 years ago

Indeed. Beware of tools claiming to be "quickcheck for language X." Without shrinking, you've lost an invaluable part of what makes quickcheck so useful.

zalmoxes|9 years ago

Go also has a version of this in the stdlib https://golang.org/pkg/testing/quick/

jlouis|9 years ago

Yes, but the Go tool doesn't do shrinking, which is troublesome once you start building big models.

(disclosure: I have some pretty large Erlang QuickCheck models on Github)