features/support/env.rb in modulesync-2.2.0 vs features/support/env.rb in modulesync-2.3.0

- old
+ new

@@ -1,9 +1,18 @@ +require 'simplecov' + +SimpleCov.command_name 'Cucumber' + require 'aruba/cucumber' require_relative '../../spec/helpers/faker' ModuleSync::Faker.working_directory = File.expand_path('faker', Aruba.config.working_directory) Before do @aruba_timeout_seconds = 5 + + # This enables coverage when aruba runs `msync` executable (cf. `bin/msync`) + set_environment_variable('COVERAGE', '1') + + aruba.config.activate_announcer_on_command_failure = %i[stdout stderr] end