Method: PDK::Report::Event#error?

Defined in:
lib/pdk/report/event.rb

#error?Boolean

Checks if the event is the result of a test that could not complete due to an error.

Returns:

  • (Boolean)

    true if the test did not complete, otherwise false.



71
72
73
# File 'lib/pdk/report/event.rb', line 71

def error?
  state == :error
end