require "bundler/gem_tasks" require "rake/testtask" desc 'Run yao\'s test suite' Rake::TestTask.new do |t| # To run test for only one file (or file path pattern) # $ bundle exec rake test TEST=test/test_specified_path.rb t.libs.concat ["test"] t.test_files = Dir["test/**/test_*.rb"] t.verbose = true t.ruby_opts = ["-r config"] t.warning = false end