--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::Applicationconfig.generators.system_tests = nilend
# Gemfile​group :test dogem 'capybara', '>= 2.15'gem 'selenium-webdriver'gem 'webdrivers'end
--skip-system-test
System Test will add a folder: test/system
When System Test is disabled, generators.system_tests
should be set to nil
# config/application.rb​class Application < Rails::Applicationconfig.generators.system_tests = nilend
# test/application_system_test_case.rb​require 'test_helper'​class ApplicationSystemTestCase < ActionDispatch::SystemTestCasedriven_by :selenium, using: :chrome, screen_size: [1400, 1400]end
# Gemfile​group :test dogem 'capybara', '>= 2.15'gem 'selenium-webdriver'gem 'webdrivers'end