Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add 'rake spec' task

  • Loading branch information...
commit 75bb6735e1df5dd1b2433021332248c08d114ca3 1 parent 49e8b15
Ryan Tomayko rtomayko authored
Showing with 6 additions and 1 deletion.
  1. +6 −1 Rakefile
7 Rakefile
View
@@ -10,11 +10,16 @@ task "RDOX" do
sh "specrb -Ilib:test -a --rdox >RDOX"
end
-desc "Run all the fast tests"
+desc "Run specs with test/unit style output"
task :test do
sh "specrb -Ilib:test -w #{ENV['TEST'] || '-a'} #{ENV['TESTOPTS']}"
end
+desc "Run specs with specdoc style output"
+task :spec do
+ sh "specrb -Ilib:test -s -w #{ENV['TEST'] || '-a'} #{ENV['TESTOPTS']}"
+end
+
desc "Run all the tests"
task :fulltest do
sh "specrb -Ilib:test -w #{ENV['TEST'] || '-a'} #{ENV['TESTOPTS']}"
Please sign in to comment.
Something went wrong with that request. Please try again.