2013-02-24 20:40:23 +01:00
|
|
|
module Mutant
|
|
|
|
# The configuration of a mutator run
|
|
|
|
class Config
|
2014-07-06 22:03:01 +00:00
|
|
|
include Adamantium::Flat, Anima::Update, Anima.new(
|
2013-09-13 22:28:04 +02:00
|
|
|
:debug,
|
2014-06-28 23:04:18 +00:00
|
|
|
:integration,
|
2014-07-03 21:16:12 +00:00
|
|
|
:matcher_config,
|
|
|
|
:includes,
|
|
|
|
:requires,
|
2013-09-13 22:28:04 +02:00
|
|
|
:reporter,
|
2014-07-06 02:11:31 +00:00
|
|
|
:isolation,
|
2013-09-13 22:28:04 +02:00
|
|
|
:fail_fast,
|
2014-09-24 19:16:39 +00:00
|
|
|
:jobs,
|
2014-01-19 00:06:40 +01:00
|
|
|
:zombie,
|
|
|
|
:expected_coverage
|
2013-02-24 20:40:23 +01:00
|
|
|
)
|
2013-03-27 15:52:02 +01:00
|
|
|
|
2014-07-03 21:16:12 +00:00
|
|
|
[:fail_fast, :zombie, :debug].each do |name|
|
|
|
|
define_method(:"#{name}?") { public_send(name) }
|
2014-06-28 22:54:28 +00:00
|
|
|
end
|
|
|
|
|
2013-06-14 20:54:02 +02:00
|
|
|
end # Config
|
|
|
|
end # Mutant
|