@staticmethod<EOL><INDENT>def add_report_data(list_all=[], module_name="<STR_LIT>", **kwargs):<DEDENT>
start_at = kwargs.get("<STR_LIT>")        <EOL>case_name = kwargs.get("<STR_LIT>","<STR_LIT>")<EOL>raw_case_name = kwargs.get("<STR_LIT>","<STR_LIT>")<EOL>exec_date_time = time.localtime(start_at)<EOL>execdate = time.strftime("<STR_LIT>",exec_date_time) <EOL>exectime = time.strftime("<STR_LIT>",exec_date_time)<EOL>_case_report = {<EOL>'<STR_LIT>': kwargs.get("<STR_LIT>","<STR_LIT>"),<EOL>'<STR_LIT>': kwargs.get("<STR_LIT>","<STR_LIT>"),<EOL>'<STR_LIT>': case_name,<EOL>'<STR_LIT>': raw_case_name,<EOL>'<STR_LIT:status>': kwargs.get("<STR_LIT:status>","<STR_LIT>"),<EOL>'<STR_LIT>': execdate,<EOL>'<STR_LIT>': exectime,<EOL>'<STR_LIT>': start_at,<EOL>'<STR_LIT>': kwargs.get("<STR_LIT>"),<EOL>}<EOL>for module in list_all:<EOL><INDENT>if module_name != module["<STR_LIT:Name>"]:<EOL><INDENT>continue<EOL><DEDENT>for case in module["<STR_LIT>"]:<EOL><INDENT>if raw_case_name == case["<STR_LIT>"]:<EOL><INDENT>case.update(_case_report)<EOL>return list_all<EOL><DEDENT><DEDENT>module["<STR_LIT>"].append(_case_report)<EOL>return list_all<EOL><DEDENT>list_all.append({"<STR_LIT:Name>": module_name, "<STR_LIT>": [_case_report]})<EOL>return list_all<EOL>
add report data to a list
            @param list_all: a list which save the report data
            @param module_name: test set name or test module name
            @param kwargs: such as
                case_name:   testcase name
                status:      test result, Pass or Fail
                resp_tester: responsible tester who write this case
                tester:      tester who execute the test
                start_at:    tester run this case at time 
                end_at:      tester stop this case at time