[Ruby] Bug in Test::Unit?

Ryan Davis ryand-ruby at zenspider.com
Sun Aug 5 18:40:47 PDT 2007


On Aug 4, 2007, at 16:00 , Corey Jewett wrote:

> I find myself using an (I can only assume) underused feature of
> Test::Unit. Specifically, setting Test::Unit.run = false is supposed
> to keep Test::Unit from running at_exit. However, the logic in the
> following block is wrong. (from the bottom of test/unit.rb)

I think the real problem is that #run? should actually be called  
#ran? and the rdoc needs to be corrected. For now, just set the value  
to true.


More information about the Ruby mailing list