Sha256: b777f216ae0677c27f5af7a5206a7c2a8b08d4d8b0fad201e9787cc27b19ba55

Contents?: true

Size: 746 Bytes

Versions: 2

Compression:

Stored size: 746 Bytes

Contents

ENV["RAILS_ENV"] ||= "test"
# Consider setting MT_NO_EXPECTATIONS to not add expectations to Object.
# ENV["MT_NO_EXPECTATIONS"] = "true"
require_relative "../config/environment"
require "rails/test_help"
require "minitest/rails"

module ActiveSupport
  class 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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
minitest-rails-7.1.1 lib/generators/minitest/install/templates/test/test_helper.rb.tt
minitest-rails-7.1.0 lib/generators/minitest/install/templates/test/test_helper.rb.tt