lib/turn/runners/testrunner.rb in turn-0.6.3 vs lib/turn/runners/testrunner.rb in turn-0.7.0

- old
+ new

@@ -32,9 +32,14 @@ end end suite = Test::Unit::TestSuite.new('') # FIXME: Name? sub_suites.sort_by{|s|s.name}.each{|s| suite << s} + suite.tests.each do |c| + pattern = controller.pattern + c.tests.reject! { |t| pattern !~ t.method_name } + end + @t_reporter = controller.reporter super(suite, output_level, $stdout) end