aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Young <alex@bytemark.co.uk>2015-04-16 17:36:25 +0100
committerAlex Young <alex@bytemark.co.uk>2015-04-16 17:36:33 +0100
commit7be280018dde23596673d53d6639bbecb35c65f8 (patch)
tree5c3d668bee38a508f4e8d34a62b1e9a0e94d7087
parent8ed7c085fa7edc075ac26b17e38e8abefc247132 (diff)
Added a rake test task
-rw-r--r--Rakefile9
1 files changed, 9 insertions, 0 deletions
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