Sha256: 4908c0200796cb00ffde92c785722a1de8f87426706f998932f2c41ec2715973
Contents?: true
Size: 590 Bytes
Versions: 10
Compression:
Stored size: 590 Bytes
Contents
task :specs %w(client server).each do |type| public_task_name = "#{type}_specs" private_task_name = "_#{public_task_name}" RSpec::Core::RakeTask.new(private_task_name) do |task| task.pattern = "spec/#{type}/**/*_spec.rb" end desc "specs for: #{type}" task public_task_name do ENV['coverage'] = type Rake::Task[private_task_name].invoke end Rake::Task["specs"].prerequisites << public_task_name end require 'cucumber' require 'cucumber/rake/task' Cucumber::Rake::Task.new(:features) do |t| t.cucumber_opts = "mode=regression features --format pretty" end
Version data entries
10 entries across 10 versions & 2 rubygems