free_mutant/lib/mutant/config.rb
Markus Schirp 41d9700473 Refactor runer infrastructure
* Nuke around 800 lock
* Honor LSP with not anymore squeezing something non LSP compatible in
  the same inheritance tree.
* Separate running from result tree.
* Clean up kill logic and early exits on already dead mutations.
* Fix #runnin? smell for reporters.
* Decouple config object from VM state. Makes it serializable to enable
  config loading.
* Fix sequence of global VM events to match PRIOR rspec infects VM with
  gazillions of classes / modules. Thix fixes a startup speed
  degeneration.
* Various fixes to enhance determinism.
* Replace some unneded manual double dispatch with single manual dispatch for
  reporter / runners.
2014-07-05 23:04:38 +00:00

21 lines
432 B
Ruby

module Mutant
# The configuration of a mutator run
class Config
include Adamantium, Anima::Update, Anima.new(
:debug,
:integration,
:matcher_config,
:includes,
:requires,
:reporter,
:fail_fast,
:zombie,
:expected_coverage
)
[:fail_fast, :zombie, :debug].each do |name|
define_method(:"#{name}?") { public_send(name) }
end
end # Config
end # Mutant