Class: Mutant::Killer::Report

Inherits:
Object
  • Object
show all
Defined in:
lib/mutant/killer.rb

Overview

Report object for kill results

Instance Method Summary collapse

Instance Method Details

#success?Boolean

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.

Test if kill was successful

Returns:

  • (Boolean)


21
22
23
# File 'lib/mutant/killer.rb', line 21

def success?
  killer.mutation.should_fail?.equal?(test_report.failed?)
end