Class: Mutant::Runner::Mutation
- Inherits:
-
Mutant::Runner
- Object
- Mutant::Runner
- Mutant::Runner::Mutation
- Defined in:
- lib/mutant/runner/mutation.rb
Overview
Mutation runner
Constant Summary
Constants inherited from Mutant::Runner
Instance Attribute Summary collapse
-
#killer ⇒ Killer
readonly
private
Return killer instance.
-
#mutation ⇒ Mutation
readonly
private
Return mutation.
Attributes inherited from Mutant::Runner
Instance Method Summary collapse
-
#initialize(config, mutation) ⇒ undefined
constructor
private
Initialize object.
-
#success? ⇒ true, false
private
Test if mutation was handeled successfully.
Methods inherited from Mutant::Runner
#reporter, run, #runtime, #stop?
Constructor Details
#initialize(config, mutation) ⇒ undefined
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Initialize object
36 37 38 39 |
# File 'lib/mutant/runner/mutation.rb', line 36 def initialize(config, mutation) @mutation = mutation super(config) end |
Instance Attribute Details
#killer ⇒ Killer (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return killer instance
25 26 27 |
# File 'lib/mutant/runner/mutation.rb', line 25 def killer @killer end |
#mutation ⇒ Mutation (readonly)
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Return mutation
17 18 19 |
# File 'lib/mutant/runner/mutation.rb', line 17 def mutation @mutation end |
Instance Method Details
#success? ⇒ true, false
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Test if mutation was handeled successfully
51 52 53 |
# File 'lib/mutant/runner/mutation.rb', line 51 def success? mutation.success?(killer) end |