def TEST_shared_data(self):
     pass
     suite_files = SharedDataActions.get_test_suite_directory_files()
     codex_files = SharedDataActions.get_codex_directory_files()
     print(codex_files)
     suite_data = SharedDataActions.get_suite_data()
     first_suite = suite_data[0]
     my_suite_name = first_suite.get_suite_name()
     print(my_suite_name)
 def TEST_shared_data(self):
     pass
     suite_files = SharedDataActions.get_test_suite_directory_files()
     codex_files = SharedDataActions.get_codex_directory_files()
     print(codex_files)
     suite_data = SharedDataActions.get_suite_data()
     first_suite = suite_data[0]
     my_suite_name = first_suite.get_suite_name()
     print(my_suite_name)
Example #3
0
 def build_suite_build_data_process(self, my_SuiteBuildData):
     group_name = my_SuiteBuildData.suiteGroup
     file_name = my_SuiteBuildData.suiteFileName
     my_SuiteFileObjectShell = SharedDataActions.get_suite_shell_from_group_and_file(
         group_name, file_name)
     return SuiteBuildDataProcess(my_SuiteBuildData,
                                  my_SuiteFileObjectShell)
 def TEST_data_converison_advanced(self):
     group_name = "RedditSuite"
     file_name = "Reddit_Test_Login.json"
     test_number = 0
     suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(group_name, file_name)
     my_suiteFileObjectArray = suite_shell.get_suite_file_object_at_index(0)
     print(my_suiteFileObjectArray.description)
    def TEST_run_complete_action(self):
        pass
        my_ObserverService = ObserverService()
        my_MainProcessSharedDataGroup = MainProcessSharedDataGroup(
        )  # has codex

        #shell
        group_name = "RedditSuite"
        file_name = "Reddit_Test_Login.json"
        browser_name = "firefox"
        my_suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(
            group_name, file_name)
        #build data
        my_SuiteBuildData = SuiteBuildData("testID", "testName",
                                           "testDescription", "overRideURL",
                                           browser_name, "serviceName",
                                           group_name, file_name,
                                           "suiteNumberList")
        #combine
        my_SuiteBuildDataProcess = SuiteBuildDataProcess(
            my_SuiteBuildData, my_suite_shell)

        my_MainProcessContextObject = MainProcessContextObject(
            my_ObserverService, my_MainProcessSharedDataGroup,
            my_SuiteBuildDataProcess)  # has reporter and webdriver

        test_number = 0
        my_CommandProcessRun = CommandProcessRun(my_MainProcessContextObject)
        my_CommandProcessRun.run_action_init(test_number)
 def TEST_data_converison(self):
     group_name = "RedditSuite"
     file_name = "Reddit_Test_Login.json"
     test_number = 0
     suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(group_name, file_name)
     suite_data_array = FileService.get_suite_data_array_from_shell(suite_shell)
     first_suite = suite_data_array[test_number]
     command_data_class_array = first_suite.convert_to_command_data_class_array()
 def TEST_data_converison_advanced(self):
     group_name = "RedditSuite"
     file_name = "Reddit_Test_Login.json"
     test_number = 0
     suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(
         group_name, file_name)
     my_suiteFileObjectArray = suite_shell.get_suite_file_object_at_index(0)
     print(my_suiteFileObjectArray.description)
 def TEST_run_suite_by_name(self):
     #group_name = "GoogleSuite"
     #file_name = "Google_Test_Search.json"
     group_name = "RedditSuite"
     file_name = "Reddit_Test_Login.json"
     test_number = 0
     suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(group_name, file_name)
     suite_data_array = FileService.get_suite_data_array_from_shell(suite_shell)
     first_suite = suite_data_array[test_number]
     my_suite_name = first_suite.get_suite_name()
     print(my_suite_name)
 def TEST_data_converison(self):
     group_name = "RedditSuite"
     file_name = "Reddit_Test_Login.json"
     test_number = 0
     suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(
         group_name, file_name)
     suite_data_array = FileService.get_suite_data_array_from_shell(
         suite_shell)
     first_suite = suite_data_array[test_number]
     command_data_class_array = first_suite.convert_to_command_data_class_array(
     )
 def TEST_run_suite_by_name(self):
     #group_name = "GoogleSuite"
     #file_name = "Google_Test_Search.json"
     group_name = "RedditSuite"
     file_name = "Reddit_Test_Login.json"
     test_number = 0
     suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(
         group_name, file_name)
     suite_data_array = FileService.get_suite_data_array_from_shell(
         suite_shell)
     first_suite = suite_data_array[test_number]
     my_suite_name = first_suite.get_suite_name()
     print(my_suite_name)
    def TEST_run_complete_action(self):
        pass
        my_ObserverService = ObserverService()
        my_MainProcessSharedDataGroup = MainProcessSharedDataGroup() # has codex

        #shell
        group_name = "RedditSuite"
        file_name = "Reddit_Test_Login.json"
        browser_name = "firefox"
        my_suite_shell = SharedDataActions.get_suite_shell_from_group_and_file(group_name, file_name)
        #build data
        my_SuiteBuildData = SuiteBuildData("testID", "testName", "testDescription", "overRideURL", browser_name, "serviceName", group_name, file_name, "suiteNumberList")
        #combine
        my_SuiteBuildDataProcess = SuiteBuildDataProcess(my_SuiteBuildData, my_suite_shell)

        my_MainProcessContextObject = MainProcessContextObject(my_ObserverService, my_MainProcessSharedDataGroup, my_SuiteBuildDataProcess) # has reporter and webdriver

        test_number = 0
        my_CommandProcessRun = CommandProcessRun(my_MainProcessContextObject)
        my_CommandProcessRun.run_action_init(test_number)
Example #12
0
 def build_suite_build_data_process(self, my_SuiteBuildData):
     group_name = my_SuiteBuildData.suiteGroup
     file_name = my_SuiteBuildData.suiteFileName
     my_SuiteFileObjectShell = SharedDataActions.get_suite_shell_from_group_and_file(group_name, file_name)
     return SuiteBuildDataProcess(my_SuiteBuildData, my_SuiteFileObjectShell)
 def TEST_shared_data_codex_test(self):
     SharedDataActions.build_codex_data()
 def TEST_shared_data_codex_test(self):
     SharedDataActions.build_codex_data()