Sha256: d9db47f2a3c79faf027822a5037282d1c9f52d0eafc6b20daeb75e1f642dc2ba

Contents?: true

Size: 810 Bytes

Versions: 1

Compression:

Stored size: 810 Bytes

Contents

require 'rubygems'

require 'bundler/setup'
require 'bundler/gem_tasks'

require 'rake/testtask'
require 'rspec/core/rake_task'

require 'yard'

task :usage do
  puts "No rake task specified, use rake -T to list them"
end

RSpec::Core::RakeTask.new(:test)

namespace :test do
  desc "Run unit tests"
  RSpec::Core::RakeTask.new(:unit) do |t|
    t.pattern = 'spec/unit/**/*.rb'
  end

  desc "Run integration tests"
  RSpec::Core::RakeTask.new(:integration) do |t|
    t.pattern = 'spec/integration/**/*.rb'
  end

  # Rake::TestTask.new(:legacy) do |test|
  #   test.libs << 'lib' << 'test'
  #   test.pattern = 'test/**/test_*.rb'
  #   test.verbose = true
  # end

  task :all => [:unit, :integration]
end

desc "Run all tests"
task :test => 'test:all'

YARD::Rake::YardocTask.new

task :default => [:usage]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.0.pre11 Rakefile