require 'rake/testtask' Rake::TestTask.new do |t| t.libs << 'test' t.pattern = 'test/test_*.rb' end desc "Running tests" task :default => :test