Skip to content

Commit 35da3f1

Browse files
committed
add --color to cucumber output to make it pretty
1 parent fbb6984 commit 35da3f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config/cucumber.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<%
22
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
3-
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4-
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
3+
rerun_opts = rerun.to_s.strip.empty? ? "--color --format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
4+
std_opts = "--color --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
55
%>
66
default: <%= std_opts %> features
77
wip: --tags @wip:3 --wip features

0 commit comments

Comments
 (0)