コード例 #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);
 }