Class: Mutant::Rspec::Test

Inherits:
Test
  • Object
show all
Defined in:
lib/mutant/rspec/test.rb

Overview

Rspec test abstraction

Constant Summary collapse

PREFIX =
:rspec

Instance Method Summary collapse

Instance Method Details

#runString

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.

Run test, return report

Returns:

  • (String)


26
27
28
# File 'lib/mutant/rspec/test.rb', line 26

def run
  strategy.run(self)
end

#subject_identificationString

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 subject identification

Returns:

  • (String)


15
16
17
# File 'lib/mutant/rspec/test.rb', line 15

def subject_identification
  example_group.description
end