free_mutant/lib/mutant/config.rb

23 lines
450 B
Ruby
Raw Normal View History

module Mutant
# The configuration of a mutator run
class Config
include Adamantium, Anima::Update, Anima.new(
:debug,
2014-06-28 19:04:18 -04:00
:integration,
:matcher_config,
:includes,
:requires,
:reporter,
:isolation,
:fail_fast,
: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