require 'rake' require 'rake/testtask' desc 'Run all the tests' task :default => [ :tests ] desc 'Run all the tests in tests/' Rake::TestTask.new("tests") { |t| t.libs << 'test' t.pattern = 'tests/*.rb' t.verbose = true }