Skip to content

Instantly share code, notes, and snippets.

@bfaloona
Created December 28, 2009 17:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bfaloona/264807 to your computer and use it in GitHub Desktop.
Save bfaloona/264807 to your computer and use it in GitHub Desktop.
cucumber profiles that require code and load other profiles
##
# cucumber profiles that define settings and require code (including a common support/env.rb file)
default: --require features/support/ --require features/step_definitions --format html --out report.html
# this profile includes another profile
verbose: --verbose --require features/support2/ --profile pretty
# sets one option
pretty: --format pretty
# this profile effectively combines options in all profiles above
# can be run like so:
# cucumber features --profile combined
combined: --profile default --profile verbose
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment