I must hunt down and learn to use a QuickCheck-like library for my language.
If I can't find one, I should write one.
So what's the (best) equivalent of QuickCheck in Ruby? In other languages? I must hunt down and learn to use a QuickCheck-like library for my language.
If I can't find one, I should write one.
So what's the (best) equivalent of QuickCheck in Ruby? In other languages?Check out the citations on http://en.wikipedia.org/wiki/QuickCheck for QuickChecks in other languages.
Ruby, because of non static types, can't be as magical, but people have given their best: https://github.com/IKEGAMIDaisuke/rushcheck
* qc for python (http://dan.bravender.us/2009/6/21/Simple_Quickcheck_implemen...)
* QuickCheck Wikipedia page with links ot implementation for many languages (http://en.wikipedia.org/wiki/QuickCheck)
Personally I am looking forward to trying out qc for python. Has anyone here used it before?
It's not yet very advanced (sometimes the library is a bit messy), but it provides the basic QuickCheck functionality.
[1] http://willowbend.cx/2009/12/05/qc-js-quickcheck-javascript/