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.

simplecov_setup.rb 512 B

2 years ago
1234567891011121314151617181920
  1. # frozen_string_literal: true
  2. if ENV['SIMPLECOV']
  3. begin
  4. # Suppress warnings in order not to pollute stdout which tests expectations rely on
  5. $VERBOSE = nil if defined?(JRUBY_VERSION)
  6. require 'simplecov'
  7. SimpleCov.root(File.expand_path("#{File.dirname(__FILE__)}/.."))
  8. SimpleCov.start do
  9. add_filter 'iso-8859-1_steps.rb'
  10. add_filter '.-ruby-core/'
  11. add_filter '/spec/'
  12. add_filter '/features/'
  13. end
  14. rescue LoadError
  15. warn('Unable to load simplecov')
  16. end
  17. end

No Description

Contributors (1)