On Dec 18, 2004, at 5:16 PM, nobu.nokada / softhome.net wrote:

> Already you can do:
>
>   $ ruby -rtest/unit -rtest/unit/autorunner -e 
> Test::Unit::AutoRunner.run

Given that the code in test/unit.rb is only used by autorunner.rb, I 
think that it is still the correct thing to do to move it to 
autorunner.rb. That way test/unit can be used in more ways w/o an 
at_exit handler that is provided in test/unit.rb getting in the way.

> Or
>
>   $ testrb .

I didn't know about testrb, but I can't seem to get it to work like you 
demonstrated:

<510> testrb18 .
/usr/local/lib/ruby/site_ruby/1.8/rubygems/cache.rb:36:in 
`from_installed_gems': /usr/local/lib/ruby/1.8/rational.rb:53:in 
`reduce': stack level too deep (SystemStackError)
         from /usr/local/lib/ruby/1.8/rational.rb:43:in `Rational'
         from /usr/local/lib/ruby/1.8/rational.rb:136:in `/'
         from /usr/local/lib/ruby/1.8/rational.rb:139:in `/'
         from /usr/local/lib/ruby/1.8/date.rb:424:in `jd_to_ajd'
         from /usr/local/lib/ruby/1.8/date.rb:703:in `today'
         from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:264:in 
`date='
         from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:254:in 
`date='
         from 
/usr/local/lib/ruby/site_ruby/1.8/rubygems/specification.rb:342:in 
`send'
          ... 813 levels...
         from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:68
         from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:63:in `[]'
         from /usr/local/lib/ruby/1.8/test/unit/autorunner.rb:192:in 
`run'
         from /usr/local/bin/testrb18:5