Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (31 sloc) 983 Bytes
require "bundler/gem_tasks"
require "rake/testtask"
task :default => :test do |t|
t.pattern = "test/unit/**/*_test.rb"
t.verbose = true
end"test:gallery") do |t|
t.pattern = "test/gallery/**/*_test.rb"
t.verbose = true
# 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
].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.
Jump to Line
Something went wrong with that request. Please try again.