diff --git a/cdTMP/test.py b/cdTMP/test.py new file mode 100644 index 0000000..b8a436b --- /dev/null +++ b/cdTMP/test.py @@ -0,0 +1,94 @@ +[{ + 'title':'功能测试_5', + 'demand_list': [{ + 'name': '测试项1', + 'total_count': 1, + 'exe_count': 1, + 'not_exe_count': 0, + 'pass_count': 1, + 'not_pass_count': 0, + 'conclusion': '通过', + 'problems': '/' + }, { + 'name': '测试项3', + 'total_count': 1, + 'exe_count': 1, + 'not_exe_count': 0, + 'pass_count': 1, + 'not_pass_count': 0, + 'conclusion': '通过', + 'problems': '/' + }, { + 'name': '一个YZ对应的测试项', + 'total_count': 0, + 'exe_count': 0, + 'not_exe_count': 0, + 'pass_count': 0, + 'not_pass_count': 0, + 'conclusion': '通过', + 'problems': '/' + }, { + 'name': '调试台功能测试1号', + 'total_count': 2, + 'exe_count': 2, + 'not_exe_count': 0, + 'pass_count': 0, + 'not_pass_count': 2, + 'conclusion': '未通过', + 'problems': 'PT_R2233_004\x07PT_R2233_001\x07PT_R2233_002\x07PT_R2233_003' + }, { + 'name': '开始了功能测试', + 'total_count': 1, + 'exe_count': 1, + 'not_exe_count': 0, + 'pass_count': 1, + 'not_pass_count': 0, + 'conclusion': '通过', + 'problems': '/' + }, { + 'name': '串口调试1号测试项', + 'total_count': 2, + 'exe_count': 1, + 'not_exe_count': 1, + 'pass_count': 1, + 'not_pass_count': 1, + 'conclusion': '未通过', + 'problems': '/' + }] +}, { + 'title':'接口测试_6', + 'demand_list': [{ + 'name': '串口调试的接口功能测试项', + 'total_count': 1, + 'exe_count': 1, + 'not_exe_count': 0, + 'pass_count': 1, + 'not_pass_count': 0, + 'conclusion': '通过', + 'problems': '/' + }] +}, { + 'title':'安全性测试_8', + 'demand_list': [{ + 'name': '研总主要关联的测试项,另外还有需求关联它', + 'total_count': 0, + 'exe_count': 0, + 'not_exe_count': 0, + 'pass_count': 0, + 'not_pass_count': 0, + 'conclusion': '通过', + 'problems': '/' + }] +}, { + 'title':'功耗分析_16', + 'demand_list': [{ + 'name': '测试项2', + 'total_count': 1, + 'exe_count': 0, + 'not_exe_count': 1, + 'pass_count': 0, + 'not_pass_count': 1, + 'conclusion': '未通过', + 'problems': '/' + }] +}]