Class: Mutant::Strategy::Rspec::Unit

Inherits:
Mutant::Strategy::Rspec show all
Defined in:
lib/mutant/strategy/rspec.rb

Overview

Run all unit specs per mutation

Constant Summary

Constants inherited from Mutant::Strategy::Rspec

KILLER

Class Method Summary collapse

Methods inherited from Mutant::Strategy

kill, killer

Class Method Details

.spec_files(mutation) ⇒ Enumerable<String>

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 file name pattern for mutation

Returns:

  • (Enumerable<String>)


32
33
34
# File 'lib/mutant/strategy/rspec.rb', line 32

def self.spec_files(mutation)
  ['spec/unit']
end