<% # Note that @legacy tags are applied to features which are really web. We take them out by default # and add them back into the rake_web profile. # See https://github.com/cucumber/cucumber/wiki/Tags env_format = "#{ENV['CUCUMBER_FORMAT']}" base_opts = (env_format == "" ? "" : "--format #{env_format}") + " -r features" std_opts = "#{base_opts} --tags 'not @wip' --tags 'not @legacy' --tags 'not @pending' --strict" wip_opts = "#{base_opts} --tags @wip:100 --wip" web_opts = "#{base_opts} --tags '@web or @legacy' --tags 'not @wip' --tags 'not @pending' --strict" %> default: <%= std_opts %> wip: <%= wip_opts %> guard: <%= wip_opts %> --format pretty guard_all: <%= std_opts %> --format progress rake: <%= std_opts %> --format progress rake_web: <%= web_opts %> --format pretty