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