method

load_tests

Importance_0
v6.1.3.1 - Show latest stable - 0 notes - Class: Runner
load_tests(argv) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/test_unit/runner.rb, line 44
        def load_tests(argv)
          patterns = extract_filters(argv)

          tests = Rake::FileList[patterns.any? ? patterns : default_test_glob]
          tests.exclude(default_test_exclude_glob) if patterns.empty?

          tests.to_a.each { |path| require File.expand_path(path) }
        end
Register or log in to add new notes.