
* Overall easier to test * Reduces the need to pass around config to subjects * Reduces the diff to tracing branch
17 lines
314 B
Ruby
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
|