Пример #1
0
        public BaseTest()
        {
            _currentTestExecutionProvider = new MsTestExecutionProvider();
            InitializeTestExecutionBehaviorObservers(_currentTestExecutionProvider);
            var memberInfo = MethodBase.GetCurrentMethod();

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