abstract fun endHandler(handler: Handler<TestResult>): TestCaseReport
Set a callback for completion, the specified handler is invoked when the test exec has completed.
handler - the completion handler
Return
a reference to this, so the API can be used fluently