class method
self.rake_run
Ruby on Rails 7.0.10
Since v5.2.8.1 Last seen in v7.0.10Signature
self.rake_run(argv = [])
No documentation comment.
Parameters
-
argvopt = []
Source
# File railties/lib/rails/test_unit/runner.rb, line 33
def rake_run(argv = [])
# Ensure the tests run during the Rake Task action, not when the process exits
success = system("rails", "test", *argv, *Shellwords.split(ENV["TESTOPTS"] || ""))
success || exit(false)
end
Defined in railties/lib/rails/test_unit/runner.rb line 33
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in Rails::TestUnit::Runner