class method self.rake_run

Ruby on Rails 7.0.10

Since v5.2.8.1 Last seen in v7.0.10

Available in: v5.2.8.1 v6.0.6 v6.1.7.10 v7.0.10

Signature

self.rake_run(argv = [])

No documentation comment.

Parameters

argv opt = []
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

Type at least 2 characters to search.

↑↓ navigate · open · esc close