Sha256: 69a7dde303d1bb186acb809bdedf665f1bdb56b1d0e97f6b5caeda149a9e892f

Contents?: true

Size: 983 Bytes

Versions: 22

Compression:

Stored size: 983 Bytes

Contents

require "bundler/gem_tasks"
require "rake/testtask"

task :default => :test
Rake::TestTask.new do |t|
  t.pattern = "test/unit/**/*_test.rb"
  t.verbose = true
end

Rake::TestTask.new("test:gallery") do |t|
  t.pattern = "test/gallery/**/*_test.rb"
  t.verbose = true
end

# The RubyMine reporter must be tested separately inside of RubyMine, and hence
# is not run in the gallery. The JUnit reporter writes to `test/reports` instead
# of having meaningful output. The guard reporter requires Guard, and I'm not
# really all that interested in setting it up for automated testing for such a
# simple reporter.
task :gallery do
  [
    "DefaultReporter",
    "JUnitReporter",
    "ProgressReporter",
    "RubyMateReporter",
    "SpecReporter"
  ].each do |reporter|
    puts "Running gallery tests using #{reporter}..."
    sh "rake test:gallery REPORTER=#{reporter}" do
      # Ignore failures. They're expected when you are running the gallery
      # test suite.
    end
  end
end

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
minitest-reporters-0.14.19 Rakefile
minitest-reporters-0.14.18 Rakefile
minitest-reporters-0.14.17 Rakefile
minitest-reporters-0.14.16 Rakefile
minitest-reporters-0.14.15 Rakefile
minitest-reporters-0.14.14 Rakefile
minitest-reporters-0.14.13 Rakefile
minitest-reporters-0.14.12 Rakefile
minitest-reporters-0.14.11 Rakefile
minitest-reporters-0.14.10 Rakefile
minitest-reporters-0.14.9 Rakefile
minitest-reporters-0.14.8 Rakefile
minitest-reporters-0.14.7 Rakefile
minitest-reporters-0.14.6 Rakefile
minitest-reporters-0.14.5 Rakefile
minitest-reporters-0.14.4 Rakefile
minitest-reporters-0.14.3 Rakefile
minitest-reporters-0.14.2 Rakefile
minitest-reporters-0.14.1 Rakefile
minitest-reporters-0.14.0 Rakefile