Rakefile in yao-0.0.2.rc3 vs Rakefile in yao-0.0.2
- old
+ new
@@ -1,2 +1,12 @@
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"]
+end