Sha256: b33f95b4268352796a78d3bde089f355fa68b0702f7c1b5c9fd3c3ab5abc7a4c

Contents?: true

Size: 511 Bytes

Versions: 5

Compression:

Stored size: 511 Bytes

Contents

# frozen_string_literal: true
if ENV['SIMPLECOV']
  begin
    # Suppress warnings in order not to pollute stdout which tests expectations rely on
    $VERBOSE = nil if defined?(JRUBY_VERSION)

    require 'simplecov'

    SimpleCov.root(File.expand_path(File.dirname(__FILE__) + '/..'))
    SimpleCov.start do
      add_filter 'iso-8859-1_steps.rb'
      add_filter '.-ruby-core/'
      add_filter '/spec/'
      add_filter '/features/'
    end
  rescue LoadError
    warn('Unable to load simplecov')
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
cucumber-3.1.0 lib/simplecov_setup.rb
cucumber-3.0.2 lib/simplecov_setup.rb
cucumber-3.0.1 lib/simplecov_setup.rb
cucumber-3.0.0 lib/simplecov_setup.rb
cucumber-3.0.0.pre.2 lib/simplecov_setup.rb