DefaultExecutor

The default test executor runs test in sequential order in a single thread

Constructors

this
this()
Undocumented in source.

Members

Functions

attach
void attach(Attachment attachment)

Called when an attachment is ready

begin
void begin(string suite, string test, StepResult step)

Add the step result and update the other listeners on every step

beginExecution
SuiteResult[] beginExecution(const(TestCase)[] )

It does nothing

createTestResult
void createTestResult(const(TestCase) testCase)

Convert a test case to a test result

end
void end(string suite, string test, StepResult step)

Update the other listeners on every step

endExecution
SuiteResult[] endExecution()

Return the result for the last executed suite

execute
SuiteResult[] execute(const(TestCase) testCase)

Execute a test case

runTest
void runTest(const(TestCase) testCase, TestResult testResult)

Run a test case

Inherited Members

From ITestExecutor

beginExecution
SuiteResult[] beginExecution(const(TestCase)[] )

Called before all tests were discovered and they are ready to be executed

execute
SuiteResult[] execute(const(TestCase) )

Run a particullary test case

endExecution
SuiteResult[] endExecution()

Called when there is no more test to be executed

From IStepLifecycleListener

begin
void begin(string suite, string test, StepResult )

Called before a step begins

end
void end(string suite, string test, StepResult )

Called after a step ended

From IAttachmentListener

attach
void attach(Attachment )

Called when an attachment is ready

Meta