From: Nathaniel Talbott Date: 2004-08-17T00:15:52+09:00 Subject: Re: Test::Unit feature request - regexp pattern of tests to run [This time WITHOUT being signed. Sigh.] On Aug 15, 2004, at 10:45, Alexander Kellett wrote: > On Sun, Aug 15, 2004 at 10:43:02PM +0900, Simon Strandgaard wrote: >> It would be awesome if I could say >> prompt> ruby test_me.rb --name "test_.*something.*" > > i use the following snippet of code > but obviously it would be much nicer > to have it builtin - We already chatted about this on IRC, but just so that everyone knows: as David points out in this thread, you can do test matching on the command-line by simply surrounding your pattern with //: ruby test.rb -n /pattern/ However, there is no (easy) programmatic interface to this functionality. Test::Unit is overdue for some serious TLC, and this has made its way on to the TODO list. Nathaniel Terralien, Inc. <:((><