Nathaniel Talbott
11/27/2004 3:34:00 PM
On Nov 26, 2004, at 11:57, itsme213 wrote:
> Am I doing something wrong? Can I get selection at the level of test
> methods
> i.e. test_1 vs. test_2 ?
As a general rule, try --help first:
ntalbott@jacob:~/sandbox$ ruby t.rb --help
Test::Unit automatic runner.
Usage: t.rb [options] [-- untouched arguments]
...
For filtering by test, use -n/--name
ntalbott@jacob:~/sandbox$ ruby t.rb --verbose
...
test_a(T): .
test_b(T): .
...
2 tests, 0 assertions, 0 failures, 0 errors
ntalbott@jacob:~/sandbox$ ruby t.rb --verbose -n test_a
...
test_a(T): .
...
1 tests, 0 assertions, 0 failures, 0 errors
Hope that helps,
Nathaniel
Terralien, Inc.
<:((><