features/support/env.rb in busser-bats-0.2.0 vs features/support/env.rb in busser-bats-0.3.0
- old
+ new
@@ -1,9 +1,16 @@
-require 'aruba/cucumber'
-require 'busser/cucumber'
+# -*- encoding: utf-8 -*-
+require "aruba/cucumber"
+require "busser/cucumber"
+
+if ENV["COVERAGE"]
+ require "simplecov"
+ SimpleCov.command_name "features"
+end
+
Before do
- @aruba_timeout_seconds = 10
+ @aruba_timeout_seconds = 20
end
After do |s|
# Tell Cucumber to quit after this scenario is done - if it failed.
# This is useful to inspect the 'tmp/aruba' directory before any other