8335cccafb
* Reduce redunrant 'Return' prefix on summaries * Improve summary line to reflect the semantics of operation better
27 lines
657 B
Ruby
27 lines
657 B
Ruby
module Mutant
|
|
# Standalone configuration of a mutant execution.
|
|
#
|
|
# Does not reference any "external" volatile state. The configuration applied
|
|
# to current environment is being represented by the Mutant::Env object.
|
|
class Config
|
|
include Adamantium::Flat, Anima::Update, Anima.new(
|
|
:debug,
|
|
:integration,
|
|
:matcher,
|
|
:includes,
|
|
:requires,
|
|
:reporter,
|
|
:isolation,
|
|
:fail_fast,
|
|
:jobs,
|
|
:zombie,
|
|
:expected_coverage,
|
|
:expression_parser
|
|
)
|
|
|
|
%i[fail_fast zombie debug].each do |name|
|
|
define_method(:"#{name}?") { public_send(name) }
|
|
end
|
|
|
|
end # Config
|
|
end # Mutant
|