feat: add one-click test runner script
This commit is contained in:
Executable
+21
@@ -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"
|
||||
Reference in New Issue
Block a user