Merge branch 'master' of github.com:johnbintz/cuke-pack

This commit is contained in:
John Bintz 2013-02-18 15:24:47 -05:00
commit a7a1e06597
3 changed files with 5 additions and 12 deletions

View File

@ -32,7 +32,7 @@ module CukePack
<<-YML
default: #{headless_opts} features
wip: #{wip_opts}
precommit: #{headless_opts} --tags ~@wip:0 features
precommit: #{headless_opts} --tags ~@no-precommit --tags ~@wip:0 features
cleanup: #{headless_opts} -f Cucumber::CleanupFormatter --out unused.txt features
YML
end

View File

@ -1,12 +1,2 @@
<%
std_opts = "--color -r features --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'} -f Cucumber::StepWriter --out features/step_definitions --strict"
%>
default: <%= std_opts %> features
wip: <%= std_opts %> --tags @wip features
precommit: <%= std_opts %> --tags ~@wip:0 --tags ~@no-precommit features
# or enable FAILFAST to have your tests end immediately on failure
#precommit: FAILFAST=true <%= std_opts %> --tags ~@wip:0 features
cleanup: <%= std_opts %> -f Cucumber::CleanupFormatter --out unused.txt features
<%= require 'cuke-pack/profiles' ; CukePack::Profiles.write %>

View File

@ -7,6 +7,9 @@ require 'cuke-pack/support/step_writer'
# fail instantly if ENV['FAILFAST'] is set
require 'cuke-pack/support/failfast'
# use advanced in_progress mode
require 'cuke-pack/support/in_progress'
# set the level of flaying on the step definitions
# set it to false to skip flaying
flay_level = 32