From c51ff36b91834a1cf73948ed4a100e779243fe86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Fri, 6 Mar 2026 12:57:17 +0800 Subject: [PATCH] feat: add one-click test runner script --- test-framework/run-all-tests.sh | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 test-framework/run-all-tests.sh diff --git a/test-framework/run-all-tests.sh b/test-framework/run-all-tests.sh new file mode 100755 index 0000000..40f310e --- /dev/null +++ b/test-framework/run-all-tests.sh @@ -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"