test: 零依赖对拍测试台(可在不改 dist/ 的前提下复现 WE 行为)
tools/serve.mjs 本地静态服务 + 测试驱动注入(模拟 WE 下发用户属性、冻结动画相位、藏 canvas 取参考帧) tools/cdp.mjs 最小 CDP 客户端(真实时间等待;--screenshot 的虚拟时间会在骨骼加载完成前就耗尽) tools/shot.mjs 截图/取状态,就绪判据可传入 tools/diff.mjs ffmpeg 差分:PSNR / SSIM / 平均亮度差 tools/capture.mjs 对拍矩阵:壁纸 × 分辨率 × (正常, 藏 canvas) 实测:xilian 1920x1080 spine 层贡献 mean|diff|=26.1/255,kv37 为 10.2/255, 同配置两次截图噪声底 0.68/255。
This commit is contained in:
1 parent
d8c7e492f7
commit
399f99edd7
7 files changed
+499
No files matched your search
@@ -0,0 +1,6 @@
|
||||
# 对拍与开发产物的输出目录(可随时重新生成,不入库)
|
||||
tools/shots/
|
||||
tools/.cache/
|
||||
|
||||
# 杂项
|
||||
*.log
|
||||
Reference in new issue
Block a user