Sha256: 9cc91075b9df2d99ccb71234c20bde4ea88cb50d56cdd14aaf00d3859417c57c

Contents?: true

Size: 562 Bytes

Versions: 5

Compression:

Stored size: 562 Bytes

Contents

unless ENV['RUBY_CC_VERSION'] || defined?(JRUBY_VERSION)
require 'cucumber/rake/task'

Cucumber::Rake::Task.new(:cucumber) do |t|
  t.cucumber_opts = "--profile default"
end

namespace :cucumber do
  Cucumber::Rake::Task.new(:rcov, "Run Cucumber using RCov") do |t|
    t.cucumber_opts = "--profile default"
    t.rcov = true
    t.rcov_opts = %w{--exclude spec\/}
  end

  Cucumber::Rake::Task.new(:native_lexer, "Run Native lexer Cucumber features") do |t|
    t.cucumber_opts = "--profile native_lexer"
  end
  task :native_lexer => [:clean, :compile]
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gherkin-2.4.0 tasks/cucumber.rake
gherkin-2.4.0-x86-mswin32 tasks/cucumber.rake
gherkin-2.4.0-x86-mingw32 tasks/cucumber.rake
gherkin-2.4.0-universal-dotnet tasks/cucumber.rake
gherkin-2.4.0-java tasks/cucumber.rake