rack-attack/Rakefile
Aaron Suggs cabadf3dc0 Better organize integration tests
Add rake tasks `test:units` and `test:integration`

Run integration tests by default on TravisCi.
Run memcached and redis on TravisCi.
2014-03-15 14:21:37 -04:00

18 lines
348 B
Ruby

require "rubygems"
require "bundler/setup"
require 'rake/testtask'
namespace :test do
Rake::TestTask.new(:units) do |t|
t.pattern = "spec/*_spec.rb"
end
Rake::TestTask.new(:integration) do |t|
t.pattern = "spec/integration/*_spec.rb"
end
end
desc 'Run tests'
task :test => %w[test:units test:integration]
task :default => :test