Sha256: 23d7dd1782e749b0005b8f8a72721f0f291a793775e604a22379521fb4d0522c
Contents?: true
Size: 997 Bytes
Versions: 3
Compression:
Stored size: 997 Bytes
Contents
require "bundler/gem_tasks" require "rake/testtask" task :default => :test Rake::TestTask.new do |t| t.pattern = "test/{unit,integration}/**/*_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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
minitest-reporters-0.14.22 | Rakefile |
minitest-reporters-0.14.21 | Rakefile |
minitest-reporters-0.14.20 | Rakefile |