From: Simon Strandgaard Date: 2004-08-16T04:38:38+09:00 Subject: Re: Test::Unit feature request - regexp pattern of tests to run On Sunday 15 August 2004 15:43, Simon Strandgaard wrote: > It would be awesome if I could say > > prompt> ruby test_me.rb --name "test_.*something.*" > > so that all tests with 'something' in their method name gets invoked. > > However on ruby 1.8.1.. only zero tests are being invoked. > So I guess it isn't supported. > > > Such feature would be awesome. Another related feature I would like to see in Test::Unit.. being able to execute tests which doesn't start with 'test' prefix. For instance I have certain tests which im working on.. those I name #xtest_something.. However if I try to execute the test via the cli.. then it just rejects it.. What im asking fore.. don't reject test names supplied via the cli . bash-2.05b$ ruby test_buffer.rb -n xtest_bracket_matcher13 Loaded suite test_buffer Started Finished in 0.001408 seconds. 0 tests, 0 assertions, 0 failures, 0 errors bash-2.05b$ grep xtest test_buffer.rb def xtest_string_paren_forward5 def xtest_bracket_matcher13 bash-2.05b$ Thanks in advance. -- Simon Strandgaard