Class: Mutant::Config
- Inherits:
-
Object
- Object
- Mutant::Config
- Includes:
- Adamantium::Flat, Anima::Update
- Defined in:
- lib/mutant.rb,
lib/mutant/config.rb
Overview
Standalone configuration of a mutant execution.
Does not reference any “external” volatile state. The configuration applied to current environment is being represented by the Mutant::Env object.
Constant Summary collapse
- CI_DEFAULT_PROCESSOR_COUNT =
4
- DEFAULT =
new( debug: false, fail_fast: false, integration: Integration::Null, 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: Rational(1), expression_parser: Expression::Parser.new([ Expression::Method, Expression::Methods, Expression::Namespace::Exact, Expression::Namespace::Recursive ]) )