报告生成

This commit is contained in:
2024-03-22 20:25:59 +08:00
parent 96973a541d
commit 84a2eab9ad

94
cdTMP/test.py Normal file
View File

@@ -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': '/'
}]
}]