Sha256: 7ffa8a936fa692ac41c508c37241f059cfc2e8286d78f60954f39daf6de85e59

Contents?: true

Size: 581 Bytes

Versions: 61

Compression:

Stored size: 581 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 = RUBY_VERSION =~ /^1\.8/
    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

61 entries across 61 versions & 1 rubygems

Version Path
gherkin-2.4.17 tasks/cucumber.rake
gherkin-2.4.17-x86-mswin32 tasks/cucumber.rake
gherkin-2.4.17-x86-mingw32 tasks/cucumber.rake
gherkin-2.4.17-universal-dotnet tasks/cucumber.rake
gherkin-2.4.17-java tasks/cucumber.rake
gherkin-2.4.16 tasks/cucumber.rake
gherkin-2.4.16-x86-mswin32 tasks/cucumber.rake
gherkin-2.4.16-x86-mingw32 tasks/cucumber.rake
gherkin-2.4.16-universal-dotnet tasks/cucumber.rake
gherkin-2.4.16-java tasks/cucumber.rake
gherkin-2.4.15 tasks/cucumber.rake
gherkin-2.4.15-x86-mswin32 tasks/cucumber.rake
gherkin-2.4.15-x86-mingw32 tasks/cucumber.rake
gherkin-2.4.15-universal-dotnet tasks/cucumber.rake
gherkin-2.4.15-java tasks/cucumber.rake
gherkin-2.4.14 tasks/cucumber.rake
gherkin-2.4.14-x86-mswin32 tasks/cucumber.rake
gherkin-2.4.14-x86-mingw32 tasks/cucumber.rake
gherkin-2.4.14-universal-dotnet tasks/cucumber.rake
gherkin-2.4.14-java tasks/cucumber.rake