Sha256: 8f8d694dc9343ab4fec561f3d26fbd4e8e79319f838a07eb91d872248d1c63bd

Contents?: true

Size: 400 Bytes

Versions: 3

Compression:

Stored size: 400 Bytes

Contents

namespace :test do
  task 'perftest:benchmark_mode' do
    ENV["BENCHMARK_TESTS"] = '1'
  end

  Rails::SubTestTask.new(benchmark: ['test:prepare', 'test:perftest:benchmark_mode']) do |t|
    t.libs << 'test'
    t.pattern = 'test/performance/**/*_test.rb'
  end

  Rails::SubTestTask.new(profile: 'test:prepare') do |t|
    t.libs << 'test'
    t.pattern = 'test/performance/**/*_test.rb'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rails-perftest-0.0.4 lib/rails/perftest/railties/testing.tasks
rails-perftest-0.0.3 lib/rails/perftest/railties/testing.tasks
rails-perftest-0.0.2 lib/rails/perftest/railties/testing.tasks