1 2 3 4 5 6 7 8 9
require 'rake/testtask' Rake::TestTask.new do |t| t.libs << "lib" t.test_files = FileList['test/*test.rb'] t.verbose = true end task :default => :test