RubyGems.org

assert_statistically is an addition to Unit::Test::Assertions that functions like assert_block. You can set a number of times to run the block, a minimum and maximum number of times that the block must pass, a message for failure, and a Proc to run before and after each run of the block.

installgem install assert_statistically -v 0.2.0
Authors

Zach Holt

6,257 total downloads 2,023 for this version
Owners

9f026ca1d86871f937ef6f3627bf527a

Gemfile
gem 'assert_statistically', '~> 0.2.0'
Versions
  1. 0.2.1 February 20, 2008 (8 KB)
  2. 0.2.0 February 19, 2008 (8 KB)
  3. 0.1.1 July 17, 2007 (6 KB)