Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
microtest
v1.2.7
GenerateReadmeCommand
Readme
Microtest
AbortionInfo
AssertionFailure
BacktracePrinter
Entry
DefaultRunner
DescriptionReporter
DSL
ErrorListReporter
ExecutionContext
Formatter
TimeUnit
GlobalHookDSL
JsonSummaryReporter
PowerAssert
CallNode
EmptyNode
Formatter
ListFormatter
NamedArgNode
Node
TerminalNode
Value
ValueWrapper
ProgressReporter
Reporter
RGB
Runner
SkipException
SlowTestsReporter
StringUtils
SummaryReporter
Termart
TerminalReporter
ResultColors
ResultSymbols
Test
TestAbortion
TestClassDSL
TestException
TestFailure
TestMethod
TestResult
TestSkip
TestSuccess
UnexpectedError
ReleaseCommand
Generated using Crystal 1.10.1
2024-01-31 06:19:28 UTC
abstract class
Microtest::
TestResult
Microtest::TestResult
Reference
Object
Direct Known Subclasses
Microtest::TestAbortion
Microtest::TestFailure
Microtest::TestSkip
Microtest::TestSuccess
Defined in:
microtest/test_result.cr
Constructors
.new
(test : Microtest::TestMethod, duration : Time::Span)
Class Method Summary
.from
(test : TestMethod, duration : Time::Span, test_exc : TestException | Nil)
Instance Method Summary
#duration
: Time::Span
#kind
: Symbol
#test
: TestMethod
Constructor Detail
def self.
new
(test :
Microtest::TestMethod
, duration : Time::Span)
#
[
View source
]
Class Method Detail
def self.
from
(test :
TestMethod
, duration : Time::Span, test_exc :
TestException
| Nil)
#
[
View source
]
Instance Method Detail
def
duration
: Time::Span
#
[
View source
]
abstract def
kind
: Symbol
#
[
View source
]
def
test
:
TestMethod
#
[
View source
]