Phlip wrote:

> Rubies:
> 
> Here's where I run my Ruby/Unit suite:
> 
>     aTestSuite = Test::Unit::TestSuite.new("MRW")
>     aTestSuite << a bunch of suites
>     got = runner.run(aTestSuite)
> 
> Now how to augment that so we fetch ARGV[], and if there's a test case by
> name, only run that one case?

Is this what you mean?

#! /usr/bin/ruby

def exec(s)
        puts "Exec #{s}"
end

if ARGV.size > 0
        exec(ARGV.first)
else
        exec("something else")
end

-- 
Paul Lutus
http://www.arachnoid.com