#!/bin/bash # scripts/tests/run.sh — 运行测试 set -e echo "🧪 运行测试..." source ~/.cargo/env 2>/dev/null || true cd "$(dirname "$0")/../.." cargo test 2>&1 echo "✅ 测试完成"