(self, path, dot_env_path=None, mapping=None)
return self.run_tests(tests_mapping)
run testcase/testsuite file or folder.

        Args:
            path (str): testcase/testsuite file/foler path.
            dot_env_path (str): specified .env file path.
            mapping (dict): if mapping is specified, it will override variables in config block.

        Returns:
            instance: HttpRunner() instance
run testcase/testsuite file or folder.
run testcase / testsuite file or folder .
def run_path(self, path, dot_env_path=None, mapping=None):
        """ run testcase/testsuite file or folder.

        Args:
            path (str): testcase/testsuite file/foler path.
            dot_env_path (str): specified .env file path.
            mapping (dict): if mapping is specified, it will override variables in config block.

        Returns:
            instance: HttpRunner() instance

        """
        # load tests
        self.exception_stage = "load tests"
        tests_mapping = loader.load_tests(path, dot_env_path)
        tests_mapping["project_mapping"]["test_path"] = path

        if mapping:
            tests_mapping["project_mapping"]["variables"] = mapping

        return self.run_tests(tests_mapping)
def run_path ( self , path , dot_env_path = None , mapping = None ) : # load tests self . exception_stage = "load tests" tests_mapping = loader . load_tests ( path , dot_env_path ) tests_mapping [ "project_mapping" ] [ "test_path" ] = path if mapping : tests_mapping [ "project_mapping" ] [ "variables" ] = mapping return self . run_tests ( tests_mapping )