Sha256: 8029b6df8a3b36398cfe825116a82b229f5c76c1bb0decf3849b0eab04b0cff5
Contents?: true
Size: 814 Bytes
Versions: 3
Compression:
Stored size: 814 Bytes
Contents
<% require 'rbconfig' WINDOWS = RbConfig::CONFIG['host_os'] =~ /msdos|mswin|win32|mingw/i unless defined?(WINDOWS) opts = [] opts << ["--color"] opts << ["--format pretty"] opts << ["--strict"] opts << ["-r features"] opts << ["--no-profile"] opts << ["--tags ~@wip"] opts << ["--tags ~@windows"] unless WINDOWS opts << ["--tags ~@posix"] if WINDOWS std_opts = opts.join(' ') rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : "" rerun_opts = rerun.to_s.strip.empty? ? "--format pretty" : "--format pretty #{rerun}" %> # define cucumber profiles # # Example usage: # # bundle exec cucumber --profile wip --- default: <%= std_opts %> -r features wip: --tags @wip:3 --wip -r features rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip -r features
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
repo_manager-0.7.3 | cucumber.yml |
repo_manager-0.7.2 | cucumber.yml |
repo_manager-0.7.1 | cucumber.yml |