Пример #1
0
        public BaseTest()
        {
            this.currentTestExecutionProvider = new MSTestExecutionProvider();
            this.InitializeTestExecutionBehaviorObservers(this.currentTestExecutionProvider);
            var memberInfo = MethodInfo.GetCurrentMethod();

            this.currentTestExecutionProvider.TestInstantiated(memberInfo);
        }
Пример #2
0
 private void InitializeTestExecutionBehaviorObservers(MSTestExecutionProvider currentTestExecutionProvider)
 {
     new AssociatedBugTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
     new BrowserLaunchTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
     new OwnerTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
 }