1 2 3 4 5 6 7 8 9 10 11 12
require 'rake' require 'rake/testtask' task :default => :test Rake::TestTask.new(:test) do |t| t.libs << "test" t.pattern = 'test/**/*_test.rb' t.verbose = true t.warning = false end Rake::Task['test'].comment = "Run tests"