internal TestFixtureViewModel(TestFixture fixture, TestSuiteViewModel parent) { _fixture = fixture; Parent = parent; _tests = new List<TestViewModel>(); foreach (var test in _fixture.Tests) { _tests.Add(new TestViewModel(test, this)); } DetermineName(); }
/// <summary> /// ctor. /// </summary> /// <param name="fixture"></param> /// <param name="testMethod"></param> public Test(TestFixture fixture, MethodInfo testMethod) { _fixture = fixture; Method = testMethod; }