CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/config/cucumber.yml
Views: 11704
1
<%
2
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"
5
ignored_tags = "--tags ~@boot --tags ~@targets"
6
%>
7
default: <%= std_opts %> <%= ignored_tags %> features
8
boot: <%= std_opts %> --tags @boot features
9
exploit: <%= std_opts %> --tags @targets features
10
wip: --tags @wip:3 --wip features
11
rerun: <%= rerun_opts %> --format rerun --out rerun.txt --strict --tags ~@wip
12