Sha256: d36eb5bae0d6b15c4e86a2efc12f2c1e03b07467474d6bd49dea307f26954c1f

Contents?: true

Size: 907 Bytes

Versions: 5

Compression:

Stored size: 907 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'deterministic'

RSpec.configure do |config|
  # Limit the spec run to only specs with the focus metadata. If no specs have
  # the filtering metadata and `run_all_when_everything_filtered = true` then
  # all specs will run.
  config.filter_run :focus

  # Run all specs when none match the provided filter. This works well in
  # conjunction with `config.filter_run :focus`, as it will run the entire
  # suite when no specs have `:filter` metadata.
  config.run_all_when_everything_filtered = true

  # Run specs in random order to surface order dependencies. If you find an
  # order dependency and want to debug it, you can fix the order by providing
  # the seed, which is printed after each run.
  #     --seed 1234
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end
  config.order = 'random'

  config.filter_run_excluding isolate: true
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
deterministic-0.16.0 spec/spec_helper.rb
deterministic-0.15.3 spec/spec_helper.rb
deterministic-0.15.2 spec/spec_helper.rb
deterministic-0.15.1 spec/spec_helper.rb
deterministic-0.15.0 spec/spec_helper.rb