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);
        }
Пример #3
0
 protected virtual void PreTestsAct(object sender, TestWorkflowPluginEventArgs e)
 {
 }
Пример #4
0
 protected virtual void TestCleanupFailed(object sender, TestWorkflowPluginEventArgs e)
 {
 }
Пример #5
0
 protected virtual void PostTestCleanup(object sender, TestWorkflowPluginEventArgs e)
 {
 }
Пример #6
0
 protected virtual void PostTestsArrange(object sender, TestWorkflowPluginEventArgs e)
 {
 }