d358324450
Doing that stuff on singletons is wired. Future strategies will have a state.
21 lines
345 B
Ruby
21 lines
345 B
Ruby
module Mutant
|
|
class Strategy
|
|
# Rspec killer strategy
|
|
class Rspec < self
|
|
include Equalizer.new
|
|
|
|
KILLER = Killer::Forking.new(Killer::Rspec)
|
|
|
|
# Setup rspec strategy
|
|
#
|
|
# @return [self]
|
|
#
|
|
# @api private
|
|
#
|
|
def setup
|
|
self
|
|
end
|
|
|
|
end # Rspec
|
|
end # Strategy
|
|
end # Mutant
|