CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
rapid7

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: rapid7/metasploit-framework
Path: blob/master/config/cucumber.yml
Views: 1904
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