/// <summary> /// Override to perform extra steps on tests execution finish. /// Return true if exception is already handled and should not be reported to script runner /// </summary> protected virtual bool DoEpilogue(Runner runner, FID id, Exception error) => false;
bool IRunnableHook.Epilogue(Runner runner, FID id, Exception error) => DoEpilogue(runner, id, error);
/// <summary> /// Override to perform extra steps on tests harness setup before methods start to execute /// </summary> protected virtual void DoPrologue(Runner runner, FID id) { }
void IRunnableHook.Prologue(Runner runner, FID id) { runner.App.InjectInto(this); //perform default dependency injection DoPrologue(runner, id); }