free_mutant/lib/mutant/selector.rb
Markus Schirp c6299604af Factor out test selection into Mutant::Selector objects
* Overall easier to test
* Reduces the need to pass around config to subjects
* Reduces the diff to tracing branch
2014-12-22 16:02:04 +00:00

17 lines
314 B
Ruby

module Mutant
# Abstract base class for test selectors
class Selector
include AbstractType, Adamantium::Flat
# Return tests for subject
#
# @param [Subject] subjecto
#
# @return [Enumerable<Test>]
#
# @api private
#
abstract_method :call
end # Selector
end # Mutant