Beispiel #1
0
        public static void ClassInitialize(TestContext TC)
        {
            CreateTestSolution();

            // Init SR
            mGingerAutomator = new GingerAutomator();
            mGingerAutomator.StartGinger();
            mGingerAutomator.OpenSolution(solutionFolder);

            // WorkSpace.Instance.SolutionRepository.Open(solutionFolder);
            // mSolutionRepository = Ginger.App.CreateGingerSolutionRepository();
            // Ginger.App.InitClassTypesDictionary();
            // mSolutionRepository.Open(solutionFolder);
        }
Beispiel #2
0
        public static void ClassInit(TestContext TC)
        {
            mTC = TC;
            mGingerAutomator.StartGinger();

            string sampleSolutionFolder = TestResources.GetTestResourcesFolder(@"Solutions\EnvsTest");

            SolutionFolder = TestResources.getGingerUnitTesterTempFolder(@"Solutions\EnvsTest");
            if (Directory.Exists(SolutionFolder))
            {
                Directory.Delete(SolutionFolder, true);
            }

            CopyDir.Copy(sampleSolutionFolder, SolutionFolder);

            mGingerAutomator.OpenSolution(SolutionFolder);

            LogFile = mTC.TestLogsDir + @"\GingerWPF_BasicsTest.txt";
        }
 public static void ClassInit(TestContext TC)
 {
     mGingerWPFAutomator.StartGinger();
 }
Beispiel #4
0
 public static void ClassInit(TestContext TC)
 {
     //Arrange
     mGingerAutomator = new GingerAutomator();
     mGingerAutomator.StartGinger();
 }