Represents a context in which a test is executed, it's used by TestExecutor
.
no subtypes hierarchy
Constructors | |
root | Source Codeshared root(TestRunner runner, TestRunResult result, TestExtensionResolver extensionResolver, Boolean async = false) Constructor for root context. Parameters:
|
Attributes | |
description | Source Codeshared TestDescription description The current test description. |
parent | Source Codeshared TestExecutionContext? parent The parent context. |
result | Source Codeshared TestRunResult result The summary result of the test run. |
runner | Source Codeshared TestRunner runner The current test runner. |
Inherited Attributes |
Attributes inherited from: Object |
Methods | |
childContext | Source Codeshared TestExecutionContext childContext(TestDescription description) Create child context for given test. |
execute | Source Codeshared void execute(Anything()|{Anything()*}* tasks) Schedule test tasks for execution. |
extension | Source Codeshared TestExtensionType extension<TestExtensionType>() Returns last registered instance of test extension with given type. |
extensions | Source Codeshared TestExtensionType[] extensions<TestExtensionType>() Returns all registered instances of test extensions with given type. |
fire | Source Codeshared TestListener fire() Returns implementation of test listener, which is firing registered listeners. |
registerExtension | Source Codeshared void registerExtension(TestExtension* extensions) Register given test extension. |
Inherited Methods |
Methods inherited from: Object |