From: Logan Capaldo Date: 2006-09-05T08:27:37+09:00 Subject: Re: run only one test case? On Sep 4, 2006, at 4:30 PM, 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? > if ARGV[0] system("ruby tc_#{ARGV[0]}.rb") end > -- > Phlip > http://c2.com/cgi/wiki?ZeekLand <-- NOT a blog!!! > > >