Sha256: e09c7b25116ca6f7ac7fe739d10c27df87119774e83b205f600a601fe8eda166
Contents?: true
Size: 877 Bytes
Versions: 4
Compression:
Stored size: 877 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 'fivefish' Loggability.format_with( :color ) if $stdout.tty? ### RSpec helper functions. module Fivefish::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( Fivefish::SpecHelpers ) end # vim: set nosta noet ts=4 sw=4:
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
rdoc-generator-fivefish-0.4.0 | spec/helpers.rb |
rdoc-generator-fivefish-0.3.0 | spec/helpers.rb |
rdoc-generator-fivefish-0.2.1 | spec/helpers.rb |
rdoc-generator-fivefish-0.2.0 | spec/helpers.rb |