public void Should_initialize_test_runner_with_additional_step_assemblies()
        {
            var factory = CreateTestRunnerFactory();

            runtimeConfigurationStub.AddAdditionalStepAssembly(anotherAssembly);

            factory.CreateTestRunner(0);

            testRunnerFake.Verify(tr => tr.OnTestRunStart());
        }
Esempio n. 2
0
        public void Should_initialize_test_runner_with_additional_step_assemblies()
        {
            var factory = CreateTestRunnerFactory();

            runtimeConfigurationStub.AddAdditionalStepAssembly(anotherAssembly);

            factory.Create(anAssembly);

            testRunnerFake.Verify(tr => tr.InitializeTestRunner(It.Is <Assembly[]>(assemblies => assemblies.Contains(anotherAssembly))));
        }