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"