Bugs item #10520, was opened at 2007-05-02 08:35
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10520&group_id=426

Category: Standard Library
Group: 1.9.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Paul Brannan (cout)
Assigned to: Nobody (None)
Summary: autorunner -n option does not work in trunk

Initial Comment:
The problem is that testcase.method_name is a Symbol, not a String.  Here's a patch:

--- autorunner.rb.orig  2007-05-02 09:32:10.907602615 -0400
+++ autorunner.rb       2007-05-02 09:32:15.211362915 -0400
@@ -144,9 +144,9 @@
             n = (%r{\A/(.*)/\Z} =~ n ? Regexp.new($1) : n)
             case n
             when Regexp
-              @filters << proc{|t| n =~ t.method_name ? true : nil}
+              @filters << proc{|t| n =~ t.method_name.to_s ? true : nil}
             else
-              @filters << proc{|t| n == t.method_name ? true : nil}
+              @filters << proc{|t| n == t.method_name.to_s ? true : nil}
             end
           end


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1698&aid=10520&group_id=426