Class: Mutant::Test

Inherits:
Object
  • Object
show all
Includes:
Adamantium::Flat
Defined in:
lib/mutant/test.rb

Overview

Abstract base class for test that might kill a mutation

Instance Method Summary collapse

Instance Method Details

#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 test identification

Returns:

  • (String)


12
13
14
# File 'lib/mutant/test.rb', line 12

def identification
  "#{integration.name}:#{expression.syntax}"
end

#runReport

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:

  • (Report)


23
24
25
# File 'lib/mutant/test.rb', line 23

def run
  integration.run(self)
end