Sha256: c6ce048c101d894c1066e8dba8290b7358e3975e92b6a1583e2449616e18e33e
Contents?: true
Size: 1019 Bytes
Versions: 5
Compression:
Stored size: 1019 Bytes
Contents
# encoding: utf-8 if ENV['COVERAGE'] == 'true' require 'simplecov' SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ SimpleCov::Formatter::HTMLFormatter, ] SimpleCov.start do command_name 'spec:unit' add_filter 'config' add_filter 'spec' add_filter 'vendor' add_filter 'test_app' minimum_coverage 89.77 # TODO: raise this to 100, then mutation test end end require 'concord' require 'adamantium' require 'devtools/spec_helper' require 'unparser/cli' require 'mutant' $LOAD_PATH << File.join(TestApp.root, 'lib') require 'test_app' module Fixtures AST_CACHE = Mutant::Cache.new end module ParserHelper def generate(node) Unparser.unparse(node) end def parse(string) Unparser::Preprocessor.run(Parser::CurrentRuby.parse(string)) end end RSpec.configure do |config| config.include(CompressHelper) config.include(ParserHelper) config.include(Mutant::NodeHelpers) config.expect_with :rspec do |rspec| rspec.syntax = :expect end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
mutant-0.5.17 | spec/spec_helper.rb |
mutant-0.5.16 | spec/spec_helper.rb |
mutant-0.5.15 | spec/spec_helper.rb |
mutant-0.5.14 | spec/spec_helper.rb |
mutant-0.5.13 | spec/spec_helper.rb |