Permalink
Browse files

Default rake targets for all examples now run each set of tests. Rspe…

…c output is now more verbose and in color.
  • Loading branch information...
1 parent e4ec224 commit 65a1b88bf9d8211ab5ab832d6222aa560300d95b @bret committed Dec 15, 2008
Showing with 592 additions and 3 deletions.
  1. +571 −0 .idea/workspace.xml
  2. +4 −1 arc/Rakefile
  3. +3 −1 cucumber/Rakefile
  4. +2 −1 rasta/rakefile.rb
  5. +8 −0 rspec/rakefile.rb
  6. +4 −0 taza/rakefile
View
Oops, something went wrong.
View
@@ -2,4 +2,7 @@ require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
t.cucumber_opts = "--format pretty"
-end
+end
+
+task :default => :features
+
View
@@ -2,4 +2,6 @@ require 'cucumber/rake/task'
Cucumber::Rake::Task.new do |t|
t.cucumber_opts = "--format pretty"
-end
+end
+
+task :default => :features
View
@@ -18,6 +18,7 @@
end
end
-
desc 'Run all tests.'
task :all => [:purchase_books, :add_books]
+
+task :default => :all
View
@@ -0,0 +1,8 @@
+require 'spec/rake/spectask'
+
+Spec::Rake::SpecTask.new do |task|
+ task.spec_files = '*.rb'
+ task.spec_opts << '--color --format specdoc'
+end
+
+task :default => :spec
View
@@ -1,3 +1,7 @@
#Generated at Fri Dec 12 03:17:37 +0000 2008
require 'rubygems'
require 'taza/tasks'
+
+task :default => 'spec:functional'
+
+

0 comments on commit 65a1b88

Please sign in to comment.