Sha256: 4f8b8dc7d24db6fda8b317cb13bf26e3e353cc6325acbe4ad5a6e6d843242225

Contents?: true

Size: 691 Bytes

Versions: 8

Compression:

Stored size: 691 Bytes

Contents

# frozen_string_literal: true

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(
      :expression_parser,
      :fail_fast,
      :integration,
      :includes,
      :isolation,
      :jobs,
      :kernel,
      :load_path,
      :matcher,
      :open3,
      :pathname,
      :requires,
      :reporter,
      :zombie
    )

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

  end # Config
end # Mutant

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
mutant-0.8.24 lib/mutant/config.rb
mutant-0.8.23 lib/mutant/config.rb
mutant-0.8.22 lib/mutant/config.rb
mutant-0.8.21 lib/mutant/config.rb
mutant-0.8.20 lib/mutant/config.rb
mutant-0.8.19 lib/mutant/config.rb
mutant-0.8.18 lib/mutant/config.rb
mutant-0.8.17 lib/mutant/config.rb