Sha256: a8133989b99c9ca6ce9b2cdde52ac6a0fa5bdb3be630f850d5584c96e3137a79

Contents?: true

Size: 585 Bytes

Versions: 37

Compression:

Stored size: 585 Bytes

Contents

ENV['RAILS_ENV'] ||= 'test'
require_relative "../config/environment"
require "rails/test_help"

class ActiveSupport::TestCase
  # Run tests in parallel with specified workers
<% if Process.respond_to?(:fork) && !Gem.win_platform? -%>
  parallelize(workers: :number_of_processors)
<%- else -%>
  parallelize(workers: :number_of_processors, with: :threads)
<% end -%>

<% unless options[:skip_active_record] -%>
  # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
  fixtures :all

<% end -%>
  # Add more helper methods to be used by all tests here...
end

Version data entries

37 entries across 37 versions & 4 rubygems

Version Path
railties-6.1.7.10 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.9 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.8 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.7 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.6 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.5 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.4 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-6.1.6.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.3 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.2 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.7 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.6.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.6 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.5.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.5 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4.7 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4.6 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-6.1.4.5 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt