Commit 08d5b3dba2a0cb7cb1595f03e4e0fffff308f16d
1 parent
ec09b0fb
Exists in
master
and in
22 other branches
Run cucumber with `--format progress` by default
Showing
3 changed files
with
3 additions
and
4 deletions
Show diff stats
lib/tasks/cucumber.rake
| ... | ... | @@ -14,13 +14,13 @@ begin |
| 14 | 14 | Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t| |
| 15 | 15 | t.binary = vendored_cucumber_binary |
| 16 | 16 | t.fork = true # You may get faster startup if you set this to false |
| 17 | - t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}" | |
| 17 | + t.cucumber_opts = "--color --tags ~@wip --strict --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" | |
| 18 | 18 | end |
| 19 | 19 | |
| 20 | 20 | Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t| |
| 21 | 21 | t.binary = vendored_cucumber_binary |
| 22 | 22 | t.fork = true # You may get faster startup if you set this to false |
| 23 | - t.cucumber_opts = "--color --tags @wip:2 --wip --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}" | |
| 23 | + t.cucumber_opts = "--color --tags @wip:2 --wip --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" | |
| 24 | 24 | end |
| 25 | 25 | |
| 26 | 26 | desc 'Run all features' | ... | ... |
lib/tasks/test.rake
| ... | ... | @@ -2,5 +2,5 @@ task :default => [:test, :cucumber, :selenium] |
| 2 | 2 | |
| 3 | 3 | desc 'Runs Seleniun acceptance tests' |
| 4 | 4 | task :selenium do |
| 5 | - sh "xvfb-run cucumber -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'pretty'}" | |
| 5 | + sh "xvfb-run cucumber -p selenium --format #{ENV['CUCUMBER_FORMAT'] || 'progress'}" | |
| 6 | 6 | end | ... | ... |
script/ci-build