#!/usr/bin/env bash # ── VibeFinance test wrapper (macOS/Linux) ─────────────────────────────── # Roept test.ps1 aan via PowerShell Core (pwsh). # # Gebruik: # ./test.sh # backend-tests + productiebuild + smoketest # ./test.sh -Unit # alleen de backend-tests # ./test.sh -NoSmoke # zonder de stack te starten # # Vereisten: # - pwsh (PowerShell Core): brew install powershell # - Docker actief set -euo pipefail SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" if ! command -v pwsh &>/dev/null; then echo "Fout: pwsh niet gevonden. Installeer via: brew install powershell" >&2 exit 1 fi pwsh -NoProfile -ExecutionPolicy Bypass \ -File "$SCRIPT_DIR/test.ps1" \ "$@"