コード例 #1
0
        public void Should_register_run_failed_first_pre_processor()
        {
            var container = new DIContainer();

            container.Configure();
            container.AddRunFailedTestsFirstPreProcessor();
            var preProcessors = container.Services.LocateAll <IPreProcessTestruns>();

            preProcessors.Length.ShouldEqual(2);
        }