From 7be280018dde23596673d53d6639bbecb35c65f8 Mon Sep 17 00:00:00 2001 From: Alex Young Date: Thu, 16 Apr 2015 17:36:25 +0100 Subject: Added a rake test task --- Rakefile | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/Rakefile b/Rakefile index 9a0e481..feea409 100644 --- a/Rakefile +++ b/Rakefile @@ -1,3 +1,5 @@ +require 'rake/testtask' + task :console do $:.push("lib") require 'irb' @@ -6,3 +8,10 @@ task :console do ARGV.clear IRB.start end + +Rake::TestTask.new do |t| + t.libs << "test" + t.libs << "lib" + t.test_files = FileList['test/tc_*'] + t.verbose=true +end -- cgit v1.2.1