Beispiel #1
0
        private static ITestRunner ForSystem(ISystem system)
        {
            var registry = new FixtureRegistry();

            registry.AddFixturesFromAssembly(system.GetType().Assembly);

            var builder = new TestRunnerBuilder(system, new NulloFixtureObserver());

            return(builder.Build());
        }
Beispiel #2
0
        public virtual void RegisterFixtures(FixtureRegistry registry)
        {
            Assembly assembly = GetType().Assembly;

            registry.AddFixturesFromAssembly(assembly);
        }