public BaseTest() { this.currentTestExecutionProvider = new MSTestExecutionProvider(); this.InitializeTestExecutionBehaviorObservers(this.currentTestExecutionProvider); var memberInfo = MethodInfo.GetCurrentMethod(); this.currentTestExecutionProvider.TestInstantiated(memberInfo); }
private void InitializeTestExecutionBehaviorObservers(MSTestExecutionProvider currentTestExecutionProvider) { new AssociatedBugTestBehaviorObserver().Subscribe(currentTestExecutionProvider); new BrowserLaunchTestBehaviorObserver().Subscribe(currentTestExecutionProvider); new OwnerTestBehaviorObserver().Subscribe(currentTestExecutionProvider); }