class Microtest::ExecutionContext
- Microtest::ExecutionContext
- Reference
- Object
Defined in:
microtest/execution_context.crConstructors
Instance Method Summary
- #abort!(info : AbortionInfo)
- #aborted?
- #abortion_info : AbortionInfo | Nil
- #duration
- #ended_at : Time
- #ended_at? : Time | Nil
- #executed_tests
- #failures : Array(TestFailure)
- #failures?
- #finished
- #focus? : Bool
- #halted?
- #manually_abort!
- #manually_aborted? : Bool
- #random : Random
- #random_seed : UInt32
- #record_abortion(meth : TestMethod, duration : Time::Span)
- #record_result(meth : TestMethod, duration : Time::Span, exc : TestException | Nil)
- #reporters : Array(Reporter)
- #results : Array(TestResult)
- #skips
- #started
- #started_at : Time
- #success?
- #suites : Array(Test.class)
- #test_suite(name : String, &)
- #total_failure
- #total_skip
- #total_success
- #total_tests
Constructor Detail
def self.new(reporters : Array(Reporter), suites : Array(::Microtest::Test.class), random_seed : UInt32 = Random.new_seed)
#