Пример #1
0
 public void TestSelectionTest()
 {
     APP_LOGGER.Debug(SelectionHelper.IsTestSelected(TestResource.SuiteAExcelFilePath, "Test1"));
     APP_LOGGER.Debug(SelectionHelper.IsTestSelected(TestResource.SuiteAExcelFilePath, "Test2"));
     APP_LOGGER.Debug(SelectionHelper.IsTestSelected(TestResource.SuiteAExcelFilePath, "Test3"));
     APP_LOGGER.Debug(SelectionHelper.IsTestSelected(TestResource.SuiteAExcelFilePath, "Test4"));
     APP_LOGGER.Debug(SelectionHelper.IsTestSelected(TestResource.SuiteAExcelFilePath, "Test5"));
 }
Пример #2
0
        public void TestDataReadingTest()
        {
            List <Dictionary <String, String> > tdList = SelectionHelper.GetTestData(ResourceTestFilePaths.SuiteAExcelFilePath, "Test4");

            foreach (var dict in tdList)
            {
                APP_LOGGER.DebugFormat("RunMode: {0}, Col1: {1}", dict["Runmode"], dict["Col1"]);
            }
        }
Пример #3
0
 public void DataDrivenTest4(Dictionary <String, String> dict)
 {
     ValidateRunMode("SuiteB", "Test4", dict["Runmode"]);
     APP_LOGGER.DebugFormat("RunMode: {0}, Col1: {1}", dict["Runmode"], dict["Col1"]);
 }
Пример #4
0
 public void SuiteSelectionTest()
 {
     APP_LOGGER.Info(SelectionHelper.IsSuiteSelected(ResourceTestFilePaths.SuitesExcelFilePath, "SuiteA"));
     APP_LOGGER.Info(SelectionHelper.IsSuiteSelected(ResourceTestFilePaths.SuitesExcelFilePath, "SuiteB"));
     APP_LOGGER.Info(SelectionHelper.IsSuiteSelected(ResourceTestFilePaths.SuitesExcelFilePath, "SuiteC"));
 }