You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- # 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
|