[ 源代码: ruby-rantly ]
软件包:ruby-rantly(2.0.0-3)
Ruby Imperative Random Data Generator and Quickcheck
You can use Rantly to generate random test data, and use its Test::Unit extension for property-based testing. Rantly is basically a recursive descent interpreter, each of its method returns a random value of some type (string, integer, float, etc.).