Sha256: 5cee8e9676032badd1b46d2ab9ab9f3e9a4786b4f44d12a392c994cd9c7a9f96

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 35 versions & 4 rubygems

Version Path
railties-7.0.8.6 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.8.5 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/railties-7.0.8.4/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/railties-7.0.5.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.8.4 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.8.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.3.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.8 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.7.2 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.7.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.7 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.6 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.5.1 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-7.0.2.3/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/railties-7.0.3.1/lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.5 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt
railties-7.0.4.3 lib/rails/generators/rails/app/templates/test/test_helper.rb.tt