I remember being able to write “ruby my_test_suite.rb
test_something_good” with Ruby 1.8.0 and then Test::Unit would run just
test_something_good from the suite. This doesn’t seem to work anymore
with the version in Ruby 1.8.1.
Was this taken out for a specific reason or am I missing something?
···
–
David Heinemeier Hansson.
http://www.loudthinking.com/ – Broadcasting Brain
Was this taken out for a specific reason or am I missing something?
My bad. I should have looked at the code instead of just the
documentation. It seems Nathaniel has improved, not removed, the
options for selective test running.
–pattern=PATTERN “Match files to collect against PATTERN.”
-n, --name=NAME “Runs tests matching NAME (patterns may be
used).”
-t, --testcase=TESTCASE “Runs tests in TestCases matching TESTCASE.”
Very nice indeed! Perhaps the command-line options could be described
in the otherwise excellent introduction in the rdoc?
···
–
David Heinemeier Hansson.
http://www.loudthinking.com/ – Broadcasting Brain
That’s a good idea… until then, --help provides quite comprehensive
documentation of the command-line options (thanks to optparse!).
Nathaniel
<:((><
···
On Jan 25, 2004, at 06:26, David Heinemeier Hansson wrote:
Was this taken out for a specific reason or am I missing something?
My bad. I should have looked at the code instead of just the
documentation. It seems Nathaniel has improved, not removed, the
options for selective test running.
–pattern=PATTERN “Match files to collect against PATTERN.”
-n, --name=NAME “Runs tests matching NAME (patterns may be
used).”
-t, --testcase=TESTCASE “Runs tests in TestCases matching TESTCASE.”
Very nice indeed! Perhaps the command-line options could be described
in the otherwise excellent introduction in the rdoc?