method

load_tests

Importance_0
v5.1.7 - 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 : "test/**/*_test.rb"]
          tests.exclude("test/system/**/*") if patterns.empty?

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