Ryan Davis wrote:
> On Apr 2, 2007, at 18:35 , Brett Schuchert wrote:
> 
>> require 'find'
>> end
> As far as eclipse goes, I cannot help you. Generically, there are
> many ways to go about it.

Ya, maybe I'm just an old Eclipse hack (I like using it). I even use a 
VI plugin in eclipse.

> 
> + Use testrb:
> 
> % testrb test/**/*_test.rb

Maybe instead of using Test::Unit I should be using other testing 
frameworks. Not sure. When I started using Java years ago (and C++ 
before that) I did pretty much work at the command line.

> 
> + Here is a much more concise version of what you wrote:
> 
> (%w(test/unit) + Dir['**/*_test.rb']).each { |f| require f }

Thanks, that's better. I need to update this to skip subversion meta 
directories (.svn) but I'm sure I can figure that out.

> + And then there is autotest:
> 
> % autotest
> # and happily leave it running all day
> 
> + And probably many more.

So is there a direction in which the "ruby community" is going with 
respect to unit testing and continuous integration?

-- 
Posted via http://www.ruby-forum.com/.