Exemplo n.º 1
0
        public void ctor_InstanceOfITestSuiteManagerReturn()
        {
            // arrange

            // act
            ITestSuiteManager obj = TestSuiteManagerFactory.CreateTestSuiteMananger(TestConstants.TfsCollectionUri, TestConstants.DefaultCredentials);

            // assert
            Assert.IsInstanceOfType(obj, typeof(ITestSuiteManager));
        }
Exemplo n.º 2
0
        public static void Refresh()
        {
            //Administration
            AreaManagerFactory.Reset();
            GlobalListFactory.Reset();
            IterationManagerFactory.Reset();
            ProcessTemplateFactory.Reset();
            TeamManagerFactory.Reset();
            TeamProjectFactory.Reset();
            TfsTeamProjectCollectionFactory.Reset();
            TeamProjectCollectionFactory.Reset();

            //Queries
            QueryRunnerFactory.Reset();

            //TestManagement
            TestCaseFactory.Reset();
            TestCaseStepFactory.Reset();
            TestSuiteFactory.Reset();
            TestSuiteManagerFactory.Reset();

            //WorkItemTracking
            WorkItemStoreFactory.Reset();
        }