-
Notifications
You must be signed in to change notification settings - Fork 9
/
.rspec
16 lines (13 loc) · 752 Bytes
/
.rspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% # Can't use 'require_relative' because it won't work on JRuby inside of an ERB file %>
<% require "#{__dir__}/cuke_linter_project_settings" %>
<% # Assume that a test process is using this file unless otherwise specified (that way it works with just `bundle exec rspec`) %>
<% ENV['CUKE_LINTER_TEST_PROCESS'] ||= 'true' %>
-r ./testing/environments/rspec_env.rb
--tag ~@wip
--format RSpec::Core::Formatters::JsonFormatter --out <%= ENV['CUKE_LINTER_RSPEC_REPORT_JSON_FILE_PATH'] %>
<% # No need for most stuff if it's not a real test run (e.g. when it's just gathering specs) %>
<% if ENV['CUKE_LINTER_TEST_PROCESS'] == 'true' %>
--format html --out <%= ENV['CUKE_LINTER_RSPEC_REPORT_HTML_FILE_PATH'] %>
--format progress
--force-color
<% end %>