Add test automation script scaffolds

This commit is contained in:
Codex
2026-07-02 13:26:19 +09:00
parent 0a427da636
commit fd9e3ae1a6
14 changed files with 625 additions and 11 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "$0")/.." && pwd)"
APP_DIR="$ROOT_DIR/app"
if [ -z "${TDC114_API_BASE:-}" ]; then
echo "TDC114_API_BASE is required for integration tests." >&2
echo "Example: TDC114_API_BASE=https://staging.example.com $0" >&2
exit 64
fi
if [ ! -d "$APP_DIR/integration_test" ]; then
echo "integration test scaffold: $APP_DIR/integration_test does not exist yet." >&2
echo "Add Flutter integration tests before enabling this script in CI." >&2
exit 2
fi
"$ROOT_DIR/scripts/flutter-docker.sh" test integration_test