(self, path_or_tests, dot_env_path=None, mapping=None)
main interface.

        Args:
            path_or_tests:
                str: testcase/testsuite file/foler path
                dict: valid testcase/testsuite data
main interface.
main interface .
def run(self, path_or_tests, dot_env_path=None, mapping=None):
        """ main interface.

        Args:
            path_or_tests:
                str: testcase/testsuite file/foler path
                dict: valid testcase/testsuite data

        """
        if validator.is_testcase_path(path_or_tests):
            return self.run_path(path_or_tests, dot_env_path, mapping)
        elif validator.is_testcases(path_or_tests):
            return self.run_tests(path_or_tests)
        else:
            raise exceptions.ParamsError("Invalid testcase path or testcases: {}".format(path_or_tests))
def run ( self , path_or_tests , dot_env_path = None , mapping = None ) : if validator . is_testcase_path ( path_or_tests ) : return self . run_path ( path_or_tests , dot_env_path , mapping ) elif validator . is_testcases ( path_or_tests ) : return self . run_tests ( path_or_tests ) else : raise exceptions . ParamsError ( "Invalid testcase path or testcases: {}" . format ( path_or_tests ) )