[Rubygems-developers] The path to Environmentally Clean Test

Chad Fowler chad at chadfowler.com
Tue Apr 13 08:59:10 EDT 2004

On 13/4/2004, at 7:52 AM, Jim Weirich wrote:

> Both of these were caught by the functional test, not the unit test. 
> Just shows its important to run *all* the tests before committing 
> (slaps self on wrist).

I've been using the "at" Rake target religiously.  So far, it's not too 
slow to substitute "all tests" for "unit tests" as I'm programming.  It 
probably will get too slow at some point, though.

> Does assert_raises work in 1.9?  If not, we will need to add a assert 
> method that is only only used in one or the other version.  Whichever 
> way makes sense.

Oh...it sure does :)  I guess that's a pretty easy solution, isn't it?


More information about the Rubygems-developers mailing list