Sha256: 4a88f51fd1201447e0a4b4ab8f67e6a343f3ecd4d99edcd6684ed09041e6cfc9

Contents?: true

Size: 1.74 KB

Versions: 7

Compression:

Stored size: 1.74 KB

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2017 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require 'simplecov'
# for simplecov to work correctly, it has to be started before any other code
SimpleCov.start do
  add_filter 'spec/'

  add_group 'Middleware', 'lib/gooddata/bricks/middleware'
  add_group 'CLI', 'lib/gooddata/cli'
  add_group 'Commands', 'lib/gooddata/commands'
  add_group 'Core', 'lib/gooddata/core'
  add_group 'Exceptions', 'lib/gooddata/exceptions'
  add_group 'Extensions', 'lib/gooddata/extensions'
  add_group 'Goodzilla', 'lib/gooddata/goodzilla'
  add_group 'Models', 'lib/gooddata/models'
  add_group 'LCM', 'lib/gooddata/lcm'
end

require 'pmap'
require 'rspec'
require 'pathname'
require 'webmock/rspec'
require 'gooddata'

logger = Logger.new(STDOUT)
logger.level = Logger::WARN
GoodData.logger = logger

WebMock.disable!

# Automagically include all helpers/*_helper.rb

require_relative 'environment/environment'

GoodData::Environment.load

base = Pathname(__FILE__).dirname.expand_path
Dir.glob(base + 'helpers/*_helper.rb').each do |file|
  require file
end

include GoodData::Helpers

RSpec::Expectations.configuration.warn_about_potential_false_positives = false

RSpec.configure do |config|
  config.deprecation_stream = File.open('deprecations.txt', 'w')

  config.include BlueprintHelper
  config.include CliHelper
  config.include ConnectionHelper
  config.include CryptoHelper
  config.include CsvHelper
  config.include ProcessHelper
  config.include ProjectHelper
  config.include ScheduleHelper
  # config.include SchemaHelper

  config.filter_run_excluding :broken => true

  config.fail_fast = false
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gooddata-1.0.2-java spec/spec_helper.rb
gooddata-1.0.2 spec/spec_helper.rb
gooddata-1.0.1 spec/spec_helper.rb
gooddata-1.0.1-java spec/spec_helper.rb
gooddata-1.0.0-java spec/spec_helper.rb
gooddata-1.0.0 spec/spec_helper.rb
gooddata-0.6.54 spec/spec_helper.rb