This installation will run your tests locally before deployment.
Capistrano task , for example. Library / Capistrano / Tasks / deploy.rake
namespace :deploy do desc 'Run test suite before deployment' task :test_suite do run_locally do execute :rake, 'test' end end end
Capistrano configuration, config / deploy.rb
before 'deploy:starting', 'deploy:test_suite'
Powered by Capistrano v3.x
source share