Esempio n. 1
0
 public BaseTest()
 {
     this.currentTestExecutionProvider = new MSTestExecutionProvider();
     this.InitializeTestExecutionBehaviorObservers(this.currentTestExecutionProvider);
     var memberInfo = MethodInfo.GetCurrentMethod();
     this.currentTestExecutionProvider.TestInstantiated(memberInfo);
 }
Esempio n. 2
0
        public BaseTest()
        {
            this.currentTestExecutionProvider = new MSTestExecutionProvider();
            this.InitializeTestExecutionBehaviorObservers(this.currentTestExecutionProvider);
            var memberInfo = MethodInfo.GetCurrentMethod();

            this.currentTestExecutionProvider.TestInstantiated(memberInfo);
        }
Esempio n. 3
0
 private void InitializeTestExecutionBehaviorObservers(MSTestExecutionProvider currentTestExecutionProvider)
 {
     new AssociatedBugTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
     new BrowserLaunchTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
     new OwnerTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
 }
Esempio n. 4
0
 private void InitializeTestExecutionBehaviorObservers(MSTestExecutionProvider currentTestExecutionProvider)
 {
     new AssociatedBugTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
     new BrowserLaunchTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
     new OwnerTestBehaviorObserver().Subscribe(currentTestExecutionProvider);
 }