Skip to content
Browse files

Added a Rakefile that just runs tests, nothing else.

  • Loading branch information...
1 parent 16c9741 commit 41bcde7f492aa977adba3516b6e69a28eaba9ce6 @dagbrown committed Dec 27, 2010
Showing with 15 additions and 0 deletions.
  1. +15 −0 Rakefile.test
View
15 Rakefile.test
@@ -0,0 +1,15 @@
+Tests = Dir["test/test_*.rb"]
+
+
+task :test do
+ $:.unshift File.dirname(__FILE__)
+ require './test/runtests'
+
+ testcases = Tests.map do |file|
+ load file
+ eval("TC_" + File.basename(file,".rb").sub(/^test_/,'').capitalize)
+ end
+
+ runtests testcases
+end
+

0 comments on commit 41bcde7

Please sign in to comment.
Something went wrong with that request. Please try again.