Files
nanocode/wanandroid/uniapp_android/simple_headless_test_report.json
T
Ubuntu 32b43f85bd a
2026-07-03 16:58:28 +08:00

256 lines
7.8 KiB
JSON

{
"timestamp": "2026-03-17T23:02:16.156625",
"base_url": "http://localhost:8000",
"total_modules": 6,
"total_tests": 28,
"total_passed": 28,
"total_failed": 0,
"success_rate": 100.0,
"modules": [
{
"module": "首页模块",
"total_tests": 3,
"passed": 3,
"failed": 0,
"results": [
{
"module": "首页模块",
"test_name": "首页访问",
"passed": true,
"timestamp": "2026-03-17T23:02:16.125996",
"details": "包含所有关键词, 响应时间: 4.2ms"
},
{
"module": "首页模块",
"test_name": "Material元素",
"passed": true,
"timestamp": "2026-03-17T23:02:16.127801",
"details": "包含所有关键词, 响应时间: 1.7ms"
},
{
"module": "首页模块",
"test_name": "CSS样式",
"passed": true,
"timestamp": "2026-03-17T23:02:16.129396",
"details": "包含所有关键词, 响应时间: 1.5ms"
}
]
},
{
"module": "Material预览模块",
"total_tests": 3,
"passed": 3,
"failed": 0,
"results": [
{
"module": "Material预览模块",
"test_name": "预览页面访问",
"passed": true,
"timestamp": "2026-03-17T23:02:16.132863",
"details": "包含所有关键词, 响应时间: 3.2ms"
},
{
"module": "Material预览模块",
"test_name": "颜色系统",
"passed": true,
"timestamp": "2026-03-17T23:02:16.135085",
"details": "包含所有关键词, 响应时间: 2.0ms"
},
{
"module": "Material预览模块",
"test_name": "响应式设计",
"passed": true,
"timestamp": "2026-03-17T23:02:16.137236",
"details": "包含所有关键词, 响应时间: 2.0ms"
}
]
},
{
"module": "API接口模块",
"total_tests": 4,
"passed": 4,
"failed": 0,
"results": [
{
"module": "API接口模块",
"test_name": "健康检查API",
"passed": true,
"timestamp": "2026-03-17T23:02:16.138926",
"details": "健康检查正常, 状态: healthy"
},
{
"module": "API接口模块",
"test_name": "Banner API",
"passed": true,
"timestamp": "2026-03-17T23:02:16.141094",
"details": "API格式正确, errorCode: 0"
},
{
"module": "API接口模块",
"test_name": "文章列表API",
"passed": true,
"timestamp": "2026-03-17T23:02:16.142878",
"details": "API格式正确, errorCode: 0"
},
{
"module": "API接口模块",
"test_name": "热词API",
"passed": true,
"timestamp": "2026-03-17T23:02:16.144352",
"details": "API格式正确, errorCode: 0"
}
]
},
{
"module": "快速测试页面模块",
"total_tests": 3,
"passed": 3,
"failed": 0,
"results": [
{
"module": "快速测试页面模块",
"test_name": "快速测试页面访问",
"passed": true,
"timestamp": "2026-03-17T23:02:16.146200",
"details": "包含所有关键词, 响应时间: 1.6ms"
},
{
"module": "快速测试页面模块",
"test_name": "测试按钮",
"passed": true,
"timestamp": "2026-03-17T23:02:16.147833",
"details": "包含所有关键词, 响应时间: 1.5ms"
},
{
"module": "快速测试页面模块",
"test_name": "服务器信息",
"passed": true,
"timestamp": "2026-03-17T23:02:16.149540",
"details": "包含所有关键词, 响应时间: 1.6ms"
}
]
},
{
"module": "Uniapp结构模块",
"total_tests": 11,
"passed": 11,
"failed": 0,
"results": [
{
"module": "Uniapp结构模块",
"test_name": "目录存在",
"passed": true,
"timestamp": "2026-03-17T23:02:16.149921",
"details": "pages/ 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "首页文件",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150005",
"details": "pages/index/index.vue 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "项目页面",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150070",
"details": "pages/project/project.vue 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "公众号页面",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150135",
"details": "pages/official/official.vue 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "体系页面",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150200",
"details": "pages/system/system.vue 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "我的页面",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150263",
"details": "pages/mine/mine.vue 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "图标目录",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150328",
"details": "static/images/icons/ 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "配置文件",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150390",
"details": "manifest.json 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "路由配置",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150450",
"details": "pages.json 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "应用配置",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150512",
"details": "App.vue 存在"
},
{
"module": "Uniapp结构模块",
"test_name": "Material图标",
"passed": true,
"timestamp": "2026-03-17T23:02:16.150737",
"details": "找到11个图标文件"
}
]
},
{
"module": "性能测试模块",
"total_tests": 4,
"passed": 4,
"failed": 0,
"results": [
{
"module": "性能测试模块",
"test_name": "首页响应时间",
"passed": true,
"timestamp": "2026-03-17T23:02:16.152395",
"details": "响应时间: 1.5ms"
},
{
"module": "性能测试模块",
"test_name": "健康检查API响应时间",
"passed": true,
"timestamp": "2026-03-17T23:02:16.153761",
"details": "响应时间: 1.3ms"
},
{
"module": "性能测试模块",
"test_name": "Banner API响应时间",
"passed": true,
"timestamp": "2026-03-17T23:02:16.155154",
"details": "响应时间: 1.3ms"
},
{
"module": "性能测试模块",
"test_name": "热词API响应时间",
"passed": true,
"timestamp": "2026-03-17T23:02:16.156468",
"details": "响应时间: 1.2ms"
}
]
}
],
"summary": "✅ 首页模块: 3/3 (100.0%)\n✅ Material预览模块: 3/3 (100.0%)\n✅ API接口模块: 4/4 (100.0%)\n✅ 快速测试页面模块: 3/3 (100.0%)\n✅ Uniapp结构模块: 11/11 (100.0%)\n✅ 性能测试模块: 4/4 (100.0%)"
}