public TestInvoker(ITest test, IMessageBus messageBus, Type testClass, MethodInfo testMethod, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, Type testNotificationType, TestStepContext testStepContext) : base(test, messageBus, testClass, new object[0], testMethod, new object[0], aggregator, cancellationTokenSource) { _testNotificationType = testNotificationType; _testClassInstance = test.Instance; _testStepContext = testStepContext; }
public TestRunner(ITest test, IMessageBus messageBus, object[] constructorArguments, MethodInfo testMethod, string skipReason, ExceptionAggregator aggregator, CancellationTokenSource cancellationTokenSource, Type testNotificationType, string source) : base(test, messageBus, test.Instance.GetType(), constructorArguments, testMethod, new object[0], skipReason, aggregator, cancellationTokenSource) { _testNotificationType = testNotificationType; Source = source; }