Sha256: cce7fee08d4ebf38649f425a64ebcf69165a1dc3639abbb308ec6355d1978cce

Contents?: true

Size: 834 Bytes

Versions: 7

Compression:

Stored size: 834 Bytes

Contents

require 'simplecov'
require 'pry'
require 'minitest/autorun'
require 'minitest/pride'
require 'minitest/hell'

SimpleCov.start do
  command_name 'MiniTest::Spec'
  add_filter   '/test/'
end unless ENV['no_simplecov']

module MiniTest
  class Spec
    # parallelize_me! # uncomment to unleash hell

    class << self
      alias_method :context, :describe
    end
  end
end

require 'mocha/setup'

GC.disable

ENV['VEDEU_TESTMODE'] = '1'

require 'vedeu'

# commented out by default (makes tests slower)
# require 'minitest/reporters'
# Minitest::Reporters.use!(
  # Minitest::Reporters::DefaultReporter.new({ color: true, slow_count: 5 }),
  # Minitest::Reporters::SpecReporter.new
# )

# trace method execution with (optionally) local variables
# require 'vedeu/support/log'
# Vedeu::Trace.call({ watched: 'call', klass: /^Vedeu/ })

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
vedeu-0.2.9 test/test_helper.rb
vedeu-0.2.8 test/test_helper.rb
vedeu-0.2.7 test/test_helper.rb
vedeu-0.2.6 test/test_helper.rb
vedeu-0.2.5 test/test_helper.rb
vedeu-0.2.4 test/test_helper.rb
vedeu-0.2.3 test/test_helper.rb