mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-26 20:08:51 +01:00
10 lines
605 B
YAML
10 lines
605 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'] || 'progress'} --strict --tags ~@wip"
|
|
%>
|
|
default: <%= std_opts %> features --tags ~@selenium
|
|
selenium: <%= std_opts %> features --tags @selenium
|
|
selenium_wip: features --wip --tags @wip:10 --tags @selenium
|
|
wip: --wip --tags @wip:10 --tags ~@selenium features
|
|
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
|