Skip to content

Instantly share code, notes, and snippets.

@michel-zimmer
Created September 18, 2017 14:45
Show Gist options
  • Save michel-zimmer/c92a921136bef3e3607c7f95710e773b to your computer and use it in GitHub Desktop.
Save michel-zimmer/c92a921136bef3e3607c7f95710e773b to your computer and use it in GitHub Desktop.
Rake task to run all tests in test folder including system ones
# lib/tasks/test.rake
namespace :test do
desc 'Runs all tests in test folder including system ones'
task all: :environment do
Rake::Task['test'].invoke
Rake::Task['test:system'].invoke
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment