Sha256: 0d50b1d1538964bd02163a2a038bc65c868aab6c3a34b55e3eb9e47d6b019fc8

Contents?: true

Size: 777 Bytes

Versions: 1

Compression:

Stored size: 777 Bytes

Contents

require 'simplecov'
SimpleCov.start

require 'minitest/spec'
require 'minitest/mock'

begin
  require 'turn/autorun'

  Turn.config do |c|
    # use one of output formats:
    # :outline  - turn's original case/test outline mode [default]
    # :progress - indicates progress with progress bar
    # :dotted   - test/unit's traditional dot-progress mode
    # :pretty   - new pretty reporter
    # :marshal  - dump output as YAML (normal run mode only)
    # :cue      - interactive testing
    c.format  = :dotted
    # use humanized test names (works only with :outline format)
    c.natural = true
  end

  require 'awesome_print'
  module Minitest::Assertions
    def mu_pp(obj)
      obj.awesome_inspect
    end
  end

  require 'pry-rescue/minitest'
rescue LoadError
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
contextual_exceptions-0.0.2 spec/support/spec_helper.rb