mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 21:24:54 +08:00
9 lines
453 B
YAML
9 lines
453 B
YAML
|
<%
|
||
|
rerun = File.file?('rerun.txt') ? IO.read('rerun.txt') : ""
|
||
|
rerun_opts = rerun.to_s.strip.empty? ? "--format #{ENV['CUCUMBER_FORMAT'] || 'progress'} features" : "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} #{rerun}"
|
||
|
std_opts = "--format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} --strict --tags ~@wip"
|
||
|
%>
|
||
|
default: <%= std_opts %> features
|
||
|
wip: --tags @wip:3 --wip features
|
||
|
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|