github.com/pyroscope-io/pyroscope@v0.37.3-0.20230725203016-5f6947968bd0/examples/ruby/rideshare_rails/test/test_helper.rb (about)

     1  ENV["RAILS_ENV"] ||= "test"
     2  require_relative "../config/environment"
     3  require "rails/test_help"
     4  
     5  class ActiveSupport::TestCase
     6    # Run tests in parallel with specified workers
     7    parallelize(workers: :number_of_processors)
     8  
     9    # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
    10    fixtures :all
    11  
    12    # Add more helper methods to be used by all tests here...
    13  end