Sha256: 6af55f66e05d7233b1f72f160f0529836be5b9496f1fee1cbda225971a805937

Contents?: true

Size: 805 Bytes

Versions: 4

Compression:

Stored size: 805 Bytes

Contents

require 'coveralls'
Coveralls.wear!

require 'slather'
require 'pry'
require 'json_spec'
require 'equivalent-xml'


FIXTURES_XML_PATH = File.join(File.dirname(__FILE__), 'fixtures/cobertura.xml')
FIXTURES_JSON_PATH = File.join(File.dirname(__FILE__), 'fixtures/gutter.json')
FIXTURES_HTML_FOLDER_PATH = File.join(File.dirname(__FILE__), 'fixtures/fixtures_html')
FIXTURES_PROJECT_PATH = File.join(File.dirname(__FILE__), 'fixtures/fixtures.xcodeproj')

RSpec.configure do |config|
  config.before(:suite) do
    `xcodebuild -project "#{FIXTURES_PROJECT_PATH}" -scheme fixtures -configuration Debug test`
  end

  config.after(:suite) do
    FileUtils.rm_rf(Dir[File.expand_path('~') + "/Library/Developer/Xcode/DerivedData/fixture*"].first)
  end
end

JsonSpec.configure do
  exclude_keys "timestamp"
end

Version data entries

4 entries across 4 versions & 2 rubygems

Version Path
slather-1.8.3 spec/spec_helper.rb
ashtonw-slather-1.8.2 spec/spec_helper.rb
slather-1.8.1 spec/spec_helper.rb
slather-1.8 spec/spec_helper.rb