Method: CIRunner::TestFailure#klass

Defined in:
lib/ci_runner/test_failure.rb

#klassString (readonly)

Returns The name of the class that included the failing test.

Examples:

Given a output log: “TestReloading#test_reload_recovers_from_name_errors__w__on_unload_callbacks”.

puts klass # => TestReloading

Returns:

  • (String)

    The name of the class that included the failing test.



16
17
18
# File 'lib/ci_runner/test_failure.rb', line 16

def klass
  @klass
end