private void RaiseTestEvent( EventHandler <TestWorkflowPluginEventArgs> eventHandler, TestOutcome testOutcome, string testName, MemberInfo testMethodMemberInfo, Type testClassType, List <string> categories, List <string> authors, List <string> descriptions, string message = null, string stackTrace = null, Exception exception = null) { var args = new TestWorkflowPluginEventArgs(testOutcome, testName, testMethodMemberInfo, testClassType, message, stackTrace, exception, categories, authors, descriptions); eventHandler?.Invoke(this, args); }
private void RaiseClassTestEvent(EventHandler <TestWorkflowPluginEventArgs> eventHandler, TestOutcome testOutcome, Type testClassType) { var args = new TestWorkflowPluginEventArgs(testOutcome, testClassType); eventHandler?.Invoke(this, args); }
protected virtual void PreTestsAct(object sender, TestWorkflowPluginEventArgs e) { }
protected virtual void TestCleanupFailed(object sender, TestWorkflowPluginEventArgs e) { }
protected virtual void PostTestCleanup(object sender, TestWorkflowPluginEventArgs e) { }
protected virtual void PostTestsArrange(object sender, TestWorkflowPluginEventArgs e) { }