free_mutant/lib/mutant/config.rb

24 lines
474 B
Ruby
Raw Normal View History

module Mutant
# The configuration of a mutator run
class Config
2014-07-06 18:03:01 -04:00
include Adamantium::Flat, Anima::Update, Anima.new(
:debug,
2014-06-28 19:04:18 -04:00
:integration,
:matcher_config,
:includes,
:requires,
:reporter,
:isolation,
:fail_fast,
2014-07-17 09:59:25 -04:00
:processes,
:zombie,
:expected_coverage
)
2013-03-27 10:52:02 -04:00
[:fail_fast, :zombie, :debug].each do |name|
define_method(:"#{name}?") { public_send(name) }
2014-06-28 18:54:28 -04:00
end
2013-06-14 14:54:02 -04:00
end # Config
end # Mutant