Sha256: 5aa051d4c7f4bfebc91254a39f99bb8f4fa85b323a840c09c8807157eabd6a5e

Contents?: true

Size: 642 Bytes

Versions: 5

Compression:

Stored size: 642 Bytes

Contents

module Mutant
  # 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.
  class Config
    include Adamantium::Flat, Anima.new(
      :debug,
      :integration,
      :matcher,
      :includes,
      :requires,
      :reporter,
      :isolation,
      :fail_fast,
      :jobs,
      :zombie,
      :expected_coverage,
      :expression_parser
    )

    %i[fail_fast zombie debug].each do |name|
      define_method(:"#{name}?") { public_send(name) }
    end

  end # Config
end # Mutant

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mutant-0.8.8 lib/mutant/config.rb
mutant-0.8.7 lib/mutant/config.rb
mutant-0.8.6 lib/mutant/config.rb
mutant-0.8.5 lib/mutant/config.rb
mutant-0.8.4 lib/mutant/config.rb