class Microtest::ExecutionContext
- Microtest::ExecutionContext
- Reference
- Object
Defined in:
microtest/execution_context.crConstructors
Instance Method Summary
- #abort!(exception : HookException)
- #aborted?
- #aborting_exception : HookException | Nil
- #abortion_forced? : Bool
- #duration
- #ended_at : Time
- #ended_at? : Time | Nil
- #errors : Array(TestFailure)
- #errors?
- #finished
- #force_abortion!
- #random : Random
- #random_seed : UInt32
- #record_result(result : TestResult)
- #reporters : Array(Reporter)
- #results : Array(TestResult)
- #skips
- #started
- #started_at : Time
- #suites : Array(Test.class)
- #test_case(name, &)
- #test_suite(cls, &)
- #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)
#