Sha256: f7186eff900261a7055d36794dd915599b7839e6407508c4da7e7e600cd5672c
Contents?: true
Size: 699 Bytes
Versions: 5
Compression:
Stored size: 699 Bytes
Contents
require "bundler/gem_tasks" require 'rake/testtask' namespace 'test' do test_files = FileList['test/**/*_test.rb'] integration_test_files = FileList['test/**/*_integration_test.rb'] unit_test_files = test_files - integration_test_files desc "Run unit tests" Rake::TestTask.new('unit') do |t| t.libs.push "lib" t.test_files = unit_test_files t.verbose = false end desc "Run integration tests" Rake::TestTask.new('integration') do |t| t.libs.push "lib" t.test_files = integration_test_files t.verbose = false end end #Rake::Task['test'].clear desc "Run all tests" task 'test' => %w[test:unit test:integration] task 'default' => 'test'
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
swathe-0.0.1 | Rakefile |
annal-0.0.4 | Rakefile |
annal-0.0.3 | Rakefile |
annal-0.0.2 | Rakefile |
annal-0.0.1 | Rakefile |