Sha256: 31b24f553bc208e97f313ce94169761d43848fad1a8970d2f75ee6487bf09aa0

Contents?: true

Size: 800 Bytes

Versions: 1

Compression:

Stored size: 800 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

require 'ruby-duration'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
time_distribution-1.1.0 spec/support/spec_helper.rb