"Robert Feldt" <robert.feldt / gmail.com> writes:

>> Personally, I would do something like:
>>
>> def something_run_a_bunch_of_times
>>   results = []
>>   100_000.times {results << whatever_is_being_verified}
>>   results.matches_statistical_requirements_of_domain?
>> end
>>
>> specify "should be totally awesome" do
>>   something_run_a_bunch_of_times.should.be true
>> end
>>
> Yes, I'll probably keep my own set of test/spec extensions for now.
>
> lambda {some bool test}.should.be.unlikely
>
> is kind of tempting though... ;)

I would add these methods to the test/spec distribution, but I don't
want to add new kinds of contexts, at least not before 1.0.

Just send me a patch.

> Thanks for your input,
>
> /Robert
-- 
Christian Neukirchen  <chneukirchen / gmail.com>  http://chneukirchen.org