Class: Mutant::Config

Inherits:
Object
  • Object
show all
Includes:
Adamantium::Flat, Anima::Update
Defined in:
lib/mutant.rb,
lib/mutant/config.rb

Overview

The configuration of a mutator run

Constant Summary collapse

CI_DEFAULT_PROCESSOR_COUNT =
2
DEFAULT =
new(
  debug:             false,
  fail_fast:         false,
  integration:       Integration::Null.new,
  matcher:           Matcher::Config::DEFAULT,
  includes:          EMPTY_ARRAY,
  requires:          EMPTY_ARRAY,
  isolation:         Mutant::Isolation::Fork,
  reporter:          Reporter::CLI.build($stdout),
  zombie:            false,
  jobs:              Mutant.ci? ? CI_DEFAULT_PROCESSOR_COUNT : ::Parallel.processor_count,
  expected_coverage: 100.0
)