method

run_from_rake

rails latest stable - Class: Rails::TestUnit::Runner
run_from_rake(test_command, argv = [])
public

No documentation available.

# File railties/lib/rails/test_unit/runner.rb, line 36
        def run_from_rake(test_command, argv = [])
          # Ensure the tests run during the Rake Task action, not when the process exits
          success = system("rails", test_command, *argv, *Shellwords.split(ENV["TESTOPTS"] || ""))
          success || exit(false)
        end