From: Eric Hodel Date: 2005-04-17T04:44:54+09:00 Subject: Re: profiling thru test/unit --Apple-Mail-11-81997070 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed On 15 Apr 2005, at 13:19, Phlip wrote: > pat eyler wrote: > >> -n [NAME] will run all tests matching NAME (NAME may be a pattern) >> (-t [NAME] will run all the tests in the NAME testcase (NAME may be a > pattern)) > > Okay. I don't want to profile, I just want to pick specific tests. > > However, that command line argument doesn't get all the way to my > testrunner, which looks like this: > > runner = Test::Unit::UI::Console::TestRunner > #noise = Test::Unit::UI::NORMAL > noise = Test::Unit::UI::VERBOSE > got = runner.run(aTestCase, noise) Do you do anything with ARGV? You'll need to set the filters up, have a look at how test/unit/autorunner.rb does it. -- Eric Hodel - drbrain@segment7.net - http://segment7.net FEC2 57F1 D465 EB15 5D6E 7C11 332A 551C 796C 9F04 --Apple-Mail-11-81997070 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iEYEARECAAYFAkJhaxsACgkQMypVHHlsnwTb2ACcCTw22WDYViUHMofygvxG355W MVoAoNEl+YFxIQ7IdyF+935uKzR5ObZq =l81n -----END PGP SIGNATURE----- --Apple-Mail-11-81997070--