free_mutant/lib/mutant/config.rb
2014-07-17 15:05:57 +00:00

23 lines
474 B
Ruby

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