public TestFixtureManager() { Reflector = new Reflector.Implementations.Reflector(); Factory = new TestFixtureFactory(); Fixtures = Factory.Create(); BaseFixture = CreateBaseFixture(); }
public Test(ITestFixture baseFixture, ITestFixture testFixture, string testMethod) { Reflector = new Reflector.Implementations.Reflector(); InstantiatedTestFixture = testFixture; InstantiatedBaseTestFixture = baseFixture; TestMethod = Reflector.GetMethodInfo(testMethod, InstantiatedTestFixture.Instance); StopWatch = new Stopwatch(); }
public TestFixtureManager(string fixtureName) { Reflector = new Reflector.Implementations.Reflector(); Factory = new TestFixtureFactory(); Fixtures = new List<ITestFixture>(); Fixtures.Add(Factory.Create(fixtureName)); BaseFixture = CreateBaseFixture(); }
public TestFixture(object instance) { Reflector = new Reflector.Implementations.Reflector(); Instance = instance; Name = instance.GetType().Name; }
public TestFixtureFactory() { Reflector = new Reflector.Implementations.Reflector(); }