Class: Mutant::Strategy::Rspec::Full

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

Overview

Run all specs per mutation

Constant Summary

Constants inherited from Mutant::Strategy::Rspec

KILLER

Instance Attribute Summary

Attributes inherited from Mutant::Strategy

#config

Instance Method Summary collapse

Methods inherited from Mutant::Strategy

#error_stream, #initialize, #kill, #killer, #output_stream

Constructor Details

This class inherits a constructor from Mutant::Strategy

Instance 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 spec files

Returns:

  • (Enumerable<String>)


60
61
62
# File 'lib/mutant/strategy/rspec.rb', line 60

def spec_files(mutation)
  Dir['spec/**/*_spec.rb']
end