aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/test.rb
blob: 1efd010dc7460f993731506a91b286ff75e2c416 (plain) (blame)
1
2
3
4
5
6
7
ENV["RAILS_ENV"] = "test"
require "rails/test_unit/runner"

options = Rails::TestRunner::Options.parse(ARGV)
$: << File.expand_path("../../test", APP_PATH)

Rails::TestRunner.new(options).run