Class ProcessExecutor

An executor that will run every test in a separate process

class ProcessExecutor
  : DefaultExecutor ;

Constructors

NameDescription
this (testProcessRun) Instantiate the executor with a custom process runner

Methods

NameDescription
runTest (testCase, testResult) Run a test case
attach (attachment) Called when an attachment is ready
begin (suite, test, step) Add the step result and update the other listeners on every step
beginExecution (_param_0) It does nothing
end (suite, test, step) Update the other listeners on every step
endExecution () Return the result for the last executed suite
execute (testCase) Execute a test case
createTestResult (testCase) Convert a test case to a test result

Aliases

NameDescription
TestProcessRun A function that should spawn a process that will run the test