class Microtest::TestFailure

Defined in:

microtest/test_result.cr

Constructors

Instance Method Summary

Instance methods inherited from class Microtest::TestResult

duration : Time::Span duration, kind : Symbol kind, test : TestMethod test

Constructor methods inherited from class Microtest::TestResult

new(test : Microtest::TestMethod, duration : Time::Span) new

Class methods inherited from class Microtest::TestResult

from(test : TestMethod, duration : Time::Span, test_exc : TestException | Nil) from

Constructor Detail

def self.new(test, duration : Time::Span, exception : Microtest::TestException) #

[View source]

Instance Method Detail

def exception : AssertionFailure | UnexpectedError #

[View source]
def kind : Symbol #

[View source]