Sha256: 8f25b264bc16029a5f5061ccf4f835f1f483137fa024df2c1795257e24e53aa1

Contents?: true

Size: 784 Bytes

Versions: 6

Compression:

Stored size: 784 Bytes

Contents

$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

6 entries across 6 versions & 1 rubygems

Version Path
watir-7.1.0 spec/spec_helper.rb
watir-7.0.0 spec/spec_helper.rb
watir-7.0.0.beta5 spec/spec_helper.rb
watir-7.0.0.beta4 spec/spec_helper.rb
watir-7.0.0.beta3 spec/spec_helper.rb
watir-7.0.0.beta2 spec/spec_helper.rb