Testing

Test

--skip-test [-T]

Test will add a folder: test

When Test is disabled, generators.system_tests should be set to nil

# config/application.rb

require 'rails/test_unit/railtie'

class Application < Rails::Application
  config.generators.system_tests = nil
end
# Gemfile

group :test do
  gem 'capybara', '>= 2.15'
  gem 'selenium-webdriver'
  gem 'webdrivers'
end

System Test

--skip-system-test

System Test will add a folder: test/system

When System Test is disabled, generators.system_tests should be set to nil

Last updated