Sha256: 9f9ce05185a5408660d5bc734bfb99b6822ce36348ed631ff39a02d8fd0b36c6

Contents?: true

Size: 468 Bytes

Versions: 3

Compression:

Stored size: 468 Bytes

Contents

require 'spec'
require 'spec/rake/spectask'

namespace 'rspec' do
  FAST = FileList['spec/reek/**/*_spec.rb']
  SLOW = FileList['spec/integration/**/*_spec.rb', 'spec/samples/**/*_spec.rb']

  Spec::Rake::SpecTask.new('fast') do |t|
    t.spec_files = FAST
    t.ruby_opts = ['-Ilib']
    t.rcov = false
  end

  Spec::Rake::SpecTask.new('all') do |t|
    t.spec_files = FAST + SLOW
    t.rcov = false
  end
end

desc 'runs the unit tests'
task 'spec' => 'rspec:fast'

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
kevinrutherford-reek-1.0.0 tasks/rspec.rake
kevinrutherford-reek-1.0.1 tasks/rspec.rake
reek-1.0.0 tasks/rspec.rake