Class: CI::Reporter::MiniTestFailure

Inherits:
FailureCore show all
Defined in:
lib/ci/reporter/minitest.rb

Instance Method Summary collapse

Constructor Details

#initialize(fault, meth) ⇒ MiniTestFailure

Returns a new instance of MiniTestFailure.



40
# File 'lib/ci/reporter/minitest.rb', line 40

def initialize(fault, meth) @fault = fault; @meth = meth end

Instance Method Details

#error?Boolean

Returns:

  • (Boolean)


42
# File 'lib/ci/reporter/minitest.rb', line 42

def error?() false end

#failure?Boolean

Returns:

  • (Boolean)


41
# File 'lib/ci/reporter/minitest.rb', line 41

def failure?() true end

#locationObject



45
# File 'lib/ci/reporter/minitest.rb', line 45

def location() super @fault end

#messageObject



44
# File 'lib/ci/reporter/minitest.rb', line 44

def message() @fault.message end

#nameObject



43
# File 'lib/ci/reporter/minitest.rb', line 43

def name() @meth end