require 'rake' require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'lib/rir' << 'test' test.pattern = 'test/**/*_test.rb' test.verbose = true end task :default => :test