Sha256: c316c5a46b806f3c6924cb7c72439788b041a2dd3bab5556f26dad2ecccbceb9

Contents?: true

Size: 815 Bytes

Versions: 4

Compression:

Stored size: 815 Bytes

Contents

# frozen_string_literal: true

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

if ENV['COVERAGE']
  require 'coveralls'
  require 'simplecov'
  require 'simplecov-console'
  SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new [Coveralls::SimpleCov::Formatter,
                                                                  SimpleCov::Formatter::HTMLFormatter,
                                                                  SimpleCov::Formatter::Console]
  SimpleCov.start do
    add_filter %r{/spec/}
    add_filter 'lib/watir/elements/html_elements.rb'
    add_filter 'lib/watir/elements/svg_elements.rb'
    add_filter 'lib/watirspec'
    refuse_coverage_drop
  end
end

require 'watir'
require 'locator_spec_helper'
require 'rspec'

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
watir-7.3.0 spec/spec_helper.rb
watir-7.2.2 spec/spec_helper.rb
watir-7.2.1 spec/spec_helper.rb
watir-7.2.0 spec/spec_helper.rb