Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (17 sloc) 440 Bytes
require "bundler/gem_tasks"
require "rake/testtask"
namespace :test do
Rake::TestTask.new(:unit) do |t|
t.libs << "test"
t.test_files = FileList["test/unit/*_test.rb"]
t.verbose = true
end
Rake::TestTask.new(:acceptance) do |t|
t.libs << "test"
t.test_files = FileList["test/acceptance/*_test.rb"]
t.verbose = true
end
desc 'run all tests'
task all: [:unit, :acceptance]
end
task default: 'test:all'