1 2 3 4 5 6
require "rake/testtask" Rake::TestTask.new do |t| t.pattern = "test/*_test.rb" end task :default => :test