run(context);
testListeners.onTestSuccess(this);
} catch (Exception e) {
testListeners.onTestFailure(this, e);
throw new TestCaseFailedException(e);
} catch (Error e) {
testListeners.onTestFailure(this, e);
throw new TestCaseFailedException(e);
} finally {
afterTest(context);
testListeners.onTestFinish(this);
finish(context);
}