45 lines
2.6 KiB
JSON
45 lines
2.6 KiB
JSON
|
|
{
|
||
|
|
"timestamp": "2026-02-06T04:18:44.937Z",
|
||
|
|
"tests": [
|
||
|
|
{
|
||
|
|
"test": "设置测试数据",
|
||
|
|
"passed": true,
|
||
|
|
"details": "测试数据已生成: {\"taskId\":\"test-restore-123\",\"status\":\"PARTIAL_SUCCESS\",\"timestamp\":1770351524941,\"saveTime\":1770351524941,\"hasFailures\":true,\"totalCount\":100,\"successCount\":95,\"failureCount\":5}",
|
||
|
|
"error": null,
|
||
|
|
"stack": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"test": "生成浏览器测试脚本",
|
||
|
|
"passed": true,
|
||
|
|
"details": "测试脚本已生成: D:\\ccdi\\ccdi\\test-results\\task2-browser-test.js",
|
||
|
|
"error": null,
|
||
|
|
"stack": null
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"test": "验证方法存在性",
|
||
|
|
"passed": false,
|
||
|
|
"details": "读取Vue文件失败",
|
||
|
|
"error": "ENOENT: no such file or directory, open 'D:\\ccdi\\ruoyi-ui\\src\\views\\ccdiEmployee\\index.vue'",
|
||
|
|
"stack": "Error: ENOENT: no such file or directory, open 'D:\\ccdi\\ruoyi-ui\\src\\views\\ccdiEmployee\\index.vue'\n at Object.readFileSync (node:fs:434:20)\n at testMethodExistence (D:\\ccdi\\ccdi\\test\\task2-test-state-restoration.js:163:27)\n at main (D:\\ccdi\\ccdi\\test\\task2-test-state-restoration.js:311:9)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"test": "验证方法签名",
|
||
|
|
"passed": false,
|
||
|
|
"details": "读取Vue文件失败",
|
||
|
|
"error": "ENOENT: no such file or directory, open 'D:\\ccdi\\ruoyi-ui\\src\\views\\ccdiEmployee\\index.vue'",
|
||
|
|
"stack": "Error: ENOENT: no such file or directory, open 'D:\\ccdi\\ruoyi-ui\\src\\views\\ccdiEmployee\\index.vue'\n at Object.readFileSync (node:fs:434:20)\n at testMethodSignatures (D:\\ccdi\\ccdi\\test\\task2-test-state-restoration.js:201:27)\n at main (D:\\ccdi\\ccdi\\test\\task2-test-state-restoration.js:312:9)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"test": "代码质量检查",
|
||
|
|
"passed": false,
|
||
|
|
"details": "读取Vue文件失败",
|
||
|
|
"error": "ENOENT: no such file or directory, open 'D:\\ccdi\\ruoyi-ui\\src\\views\\ccdiEmployee\\index.vue'",
|
||
|
|
"stack": "Error: ENOENT: no such file or directory, open 'D:\\ccdi\\ruoyi-ui\\src\\views\\ccdiEmployee\\index.vue'\n at Object.readFileSync (node:fs:434:20)\n at testCodeQuality (D:\\ccdi\\ccdi\\test\\task2-test-state-restoration.js:266:27)\n at main (D:\\ccdi\\ccdi\\test\\task2-test-state-restoration.js:313:9)\n at process.processTicksAndRejections (node:internal/process/task_queues:103:5)"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"summary": {
|
||
|
|
"total": 5,
|
||
|
|
"passed": 2,
|
||
|
|
"failed": 3
|
||
|
|
}
|
||
|
|
}
|