Esempio n. 1
0
 /// <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;
Esempio n. 2
0
 bool IRunnableHook.Epilogue(Runner runner, FID id, Exception error) => DoEpilogue(runner, id, error);
Esempio n. 3
0
 /// <summary>
 /// Override to perform extra steps on tests harness setup before methods start to execute
 /// </summary>
 protected virtual void DoPrologue(Runner runner, FID id)
 {
 }
Esempio n. 4
0
 void IRunnableHook.Prologue(Runner runner, FID id)
 {
     runner.App.InjectInto(this); //perform default dependency injection
     DoPrologue(runner, id);
 }