feat: add one-click test runner script

This commit is contained in:
张翔
2026-03-06 12:57:17 +08:00
parent e24cbd0a55
commit c51ff36b91
+21
View File
@@ -0,0 +1,21 @@
#!/bin/bash
echo "🚀 开始运行所有测试..."
echo "📊 运行性能审计..."
npm run test:dev-audit:performance
echo "🔍 运行SEO检查..."
npm run test:dev-audit:seo
echo "♿ 运行可访问性测试..."
npm run test:dev-audit:accessibility
echo "📝 运行表单验证..."
npm run test:dev-audit:forms
echo "📈 生成综合报告..."
npm run test:report
echo "✅ 所有测试完成!"
echo "📄 报告位置: test-framework/reports/html/index.html"