1234567891011121314151617181920212223242526 |
- require 'bundler'
- Bundler.setup
- require 'rake/testtask'
- namespace :test do
- Rake::TestTask.new(:unit) do |t|
- t.libs << 'test'
- t.pattern = Dir.glob('test/unit/*_test.rb')
- end
- Rake::TestTask.new(:integration) do |t|
- t.libs << 'test'
- t.pattern = Dir.glob('test/integration/*_test.rb')
- end
- Rake::TestTask.new(:performance) do |t|
- t.libs << 'test'
- t.pattern = Dir.glob('test/performance/*_test.rb')
- end
- end
- task default: ['test:unit', 'test:integration']
|