Sha256: a34c8949bc70f47b6982160ad7014606795f4131cba65ab24ad8d624dfbe2ad8

Contents?: true

Size: 822 Bytes

Versions: 26

Compression:

Stored size: 822 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 = ['-Ilib -w']
  end

  desc 'Tests various release attributes of the gem'
  RSpec::Core::RakeTask.new('gem') do |t|
    t.pattern = 'spec/gem/**/*_spec.rb'
  end

  desc 'Tests code quality'
  RSpec::Core::RakeTask.new('quality') do |t|
    t.pattern = 'spec/quality/**/*_spec.rb'
    t.ruby_opts = ['-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

26 entries across 26 versions & 1 rubygems

Version Path
reek-3.2.1 tasks/test.rake
reek-3.2 tasks/test.rake
reek-3.1 tasks/test.rake
reek-3.0.4 tasks/test.rake
reek-3.0.3 tasks/test.rake
reek-3.0.2 tasks/test.rake
reek-3.0.1 tasks/test.rake
reek-3.0.0 tasks/test.rake
reek-2.2.1 tasks/test.rake
reek-2.2.0 tasks/test.rake
reek-2.1.0 tasks/test.rake
reek-2.0.4 tasks/test.rake
reek-2.0.3 tasks/test.rake
reek-2.0.2 tasks/test.rake
reek-2.0.1 tasks/test.rake
reek-2.0.0 tasks/test.rake
reek-1.6.6 tasks/test.rake
reek-1.6.5 tasks/test.rake
reek-1.6.4 tasks/test.rake
reek-1.6.3 tasks/test.rake