File: cucumber.rake

package info (click to toggle)
asciidoctor 2.0.26-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,464 kB
  • sloc: ruby: 45,298; sh: 147; xml: 53; javascript: 48; makefile: 26; ml: 1
file content (11 lines) | stat: -rw-r--r-- 292 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true
begin
  require 'cucumber/rake/task'
  Cucumber::Rake::Task.new :features do |t|
    t.cucumber_opts = %w(-f progress)
    t.cucumber_opts << '--no-color' if ENV['CI']
    t.bundler = false # don't run as bundle exec
  end
rescue LoadError
  warn $!.message
end