Created
July 1, 2011 11:43
-
-
Save paneq/1058372 to your computer and use it in GitHub Desktop.
rails
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
desc 'Runs test:units, test:functionals, test:integration together (also available: test:benchmark, test:profile, test:plugins)' | |
task :test do | |
errors = %w(test:units test:functionals test:integration).collect do |task| | |
begin | |
Rake::Task[task].invoke | |
nil | |
rescue => e | |
task | |
end | |
end.compact | |
abort "Errors running #{errors * ', '}!" if errors.any? | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment