class

Microtest::ExecutionContext

Inherits Reference / Object

Constructors

new(reporters : Array(Reporter), suites : Array(::Microtest::Test.class), random_seed : UInt32 = Random.new_seed)
Source

Instance methods

abort!(info : AbortionInfo)
Source
aborted?
Source
abortion_info
Source
duration
Source
ended_at
Source
ended_at?
Source
executed_tests
Source
failures
Source
failures?
Source
finished
Source
focus?
Source
halted?
Source
manually_abort!
Source
manually_aborted?
Source
random
Source
random_seed
Source
record_abortion(meth : TestMethod, duration : Time::Span)
Source
record_result(meth : TestMethod, duration : Time::Span, exc : TestException | Nil)
Source
reporters
Source
results
Source
skips
Source
started
Source
started_at
Source
success?
Source
suites
Source
test_suite(name : String, &)
Source
total_failure
Source
total_skip
Source
total_success
Source
total_tests
Source