Sha256: 26429d2dd740ef480a9d8dc293a8e521766f607e4ad748280de720092415a590
Contents?: true
Size: 874 Bytes
Versions: 7
Compression:
Stored size: 874 Bytes
Contents
# -*- ruby -*- #encoding: utf-8 # SimpleCov test coverage reporting; enable this using the :coverage rake task if ENV['COVERAGE'] $stderr.puts "\n\n>>> Enabling coverage report.\n\n" require 'simplecov' SimpleCov.start do add_filter 'spec' add_group "Needing tests" do |file| file.covered_percent < 90 end end end require 'loggability' require 'loggability/spechelpers' require 'rspec' require 'sixfish' Loggability.format_with( :color ) if $stdout.tty? ### RSpec helper functions. module Sixfish::SpecHelpers end ### Mock with RSpec RSpec.configure do |config| config.run_all_when_everything_filtered = true config.filter_run :focus config.order = 'random' config.mock_with( :rspec ) do |mock| mock.syntax = :expect end config.include( Loggability::SpecHelpers ) config.include( Sixfish::SpecHelpers ) end # vim: set nosta noet ts=4 sw=4:
Version data entries
7 entries across 7 versions & 1 rubygems