Skip to content

Instantly share code, notes, and snippets.

@eric
Created September 13, 2013 19:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eric/6555152 to your computer and use it in GitHub Desktop.
Save eric/6555152 to your computer and use it in GitHub Desktop.
namespace :test do
task :turn_off_verbose do
ObjectSpace.each_object(Rake::TestTask) { |t| t.verbose = false }
end
end
%w(test:units test:functionals test:integration).each do |task_name|
Rake::Task[task_name].prerequisites << 'test:turn_off_verbose'
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment