class method
self.load_tests
Ruby on Rails 6.1.7.10
Since v5.2.8.1Signature
self.load_tests(argv)
No documentation comment.
Parameters
-
argvreq
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
Defined in railties/lib/rails/test_unit/runner.rb line 44
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::TestUnit::Runner