Sha256: 4f07189ac43eaa91763e3d114303fb5246dedb88946f0a9566763ef89a6efdca
Contents?: true
Size: 829 Bytes
Versions: 17
Compression:
Stored size: 829 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 RSpec::Core::RakeTask.new('performance') do |t| t.pattern = 'spec/performance/**/*_spec.rb' 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
17 entries across 15 versions & 2 rubygems