free_mutant/lib/mutant/reporter.rb
Markus Schirp 42e6fe84e5 Add runner with reporter
* Use MethodObject mixin
* Rename Context::Constant to Context::Scope
* Use Mutation class instead of passing around raw nodes
2012-08-16 04:10:54 +02:00

36 lines
533 B
Ruby

module Mutant
# Abstract reporter
class Reporter
include Immutable, Abstract
# Report subject
#
# @param [Subject] subject
#
# @return [self]
#
# @api private
#
abstract_method :subject
# Report mutation
#
# @param [Mutation] mutation
#
# @return [self]
#
# @api private
#
abstract_method :mutation
# Report killer
#
# @param [Killer] killer
#
# @return [self]
#
# @api private
#
abstract_method :killer
end
end