# TODO: simplify this once CUCUMBER_PROFILE stuff is complete.

# Cucumber only requires feature files directly nested in the features/ folder. To use features nested in
# sub-directories, you need to explicitly require the entire folder from the command line
default: --color --format pretty --require features/

# need to explicitly require step defs -- dry run doesn't require env.rb, so NameError occurs for missing files.
<% dry_run = "--no-source --dry-run --require features/step_definitions " %>
dry_run: <%= dry_run %> --format progress --strict
unused: <%= dry_run %> -f Support::Formatters::Unused -r support/formatters/unused.rb

require_features: "--require features/"
