Sha256: f9c319a0a0d0e7a1af4699d0c831fadea973de6ee77e277dded09080775c4487

Contents?: true

Size: 623 Bytes

Versions: 4

Compression:

Stored size: 623 Bytes

Contents

require 'rake/testtask'

task :default => ['test']

task :test    => ['test:unit', 'test:integration']

namespace :test do
  desc "Run integration tests"
  Rake::TestTask.new(:unit) do |t|
    t.pattern = 'tests/unit/*_test.rb'
    t.libs << 'test'
    t.verbose = true
  end

  desc "Run integration tests"
  Rake::TestTask.new(:integration) do |t|
    t.pattern = 'tests/integration/*_test.rb'
    t.libs << 'lib:test'
    t.verbose = true
  end

  desc "Run performance tests"
  Rake::TestTask.new(:performance) do |t|
    t.pattern = 'tests/performance/*_test.rb'
    t.libs << 'lib:test'
    t.verbose = true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
locationary-0.0.5 tasks/test.rake
locationary-0.0.4 tasks/test.rake
locationary-0.0.2 tasks/test.rake
locationary-0.0.1 tasks/test.rake