Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (17 sloc) 0.453 kb
require 'rake/testtask'
namespace :test do
Rake::TestTask.new(:unit) do |t|
t.libs = ['lib']
t.test_files = FileList['test/unit/*_test.rb']
t.ruby_opts += ["-w"]
end
Rake::TestTask.new(:end_to_end) do |t|
t.libs = ['lib']
t.test_files = FileList['test/end_to_end/*_test.rb']
t.ruby_opts += ["-w"]
end
task :run => [:unit, :end_to_end]
end
desc 'Alias to test:run'
task :test => 'test:run'
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.