Sha256: 8f69512e725832e423a856ccd74bdc2a800fe9ea05c7b3174a3ecc7160cbd7dd

Contents?: true

Size: 724 Bytes

Versions: 28

Compression:

Stored size: 724 Bytes

Contents

require 'cucumber/rake/task'
require 'rspec/core/rake_task'

namespace 'test' do
  RSpec::Core::RakeTask.new('spec') do |t|
    t.pattern = 'spec/reek/**/*_spec.rb'
    t.ruby_opts = ['-rbundler/setup -rsimplecov -Ilib -w']
  end

  desc 'Tests code quality'
  RSpec::Core::RakeTask.new('quality') do |t|
    t.pattern = 'spec/quality/**/*_spec.rb'
    t.ruby_opts = ['-rbundler/setup -Ilib']
  end

  Cucumber::Rake::Task.new(:features) do |t|
    t.cucumber_opts = 'features --format progress --color'
  end

  desc 'Runs all unit tests and acceptance tests'
  task 'all' => ['test:spec', 'test:features']
end

desc 'Synonym for test:spec'
task 'spec' => 'test:spec'

desc 'Synonym for test:all'
task 'test' => 'test:all'

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
reek-5.0.2 tasks/test.rake
reek-5.0.1 tasks/test.rake
reek-5.0.0 tasks/test.rake
reek-4.8.2 tasks/test.rake
reek-4.8.1 tasks/test.rake
reek-4.8.0 tasks/test.rake
reek-4.7.3 tasks/test.rake
reek-4.7.2 tasks/test.rake
reek-4.7.1 tasks/test.rake
reek-4.7.0 tasks/test.rake
reek-4.6.2 tasks/test.rake
reek-4.6.1 tasks/test.rake
reek-4.6.0 tasks/test.rake
reek-4.5.6 tasks/test.rake
reek-4.5.5 tasks/test.rake
reek-4.5.4 tasks/test.rake
reek-4.5.3 tasks/test.rake
reek-4.5.2 tasks/test.rake
reek-4.5.1 tasks/test.rake
reek-4.5.0 tasks/test.rake