1 Commits
Author SHA1 Message Date
Stefan-Sanger 43a9d7ec57 feat: add run-compose-tests.sh — one-command compose harness testsuite
Brings up the docker-compose stack (postgres + mocks + prosody), waits
for prosody to become healthy, and runs the full pytest suite with all
env vars set so tests that need MOCK_URL, PG, BOSH/WS, telnet, etc. are
not skipped.

Auto-detects if port 5582 is already in use (e.g. kubectl port-forward)
and remaps the telnet host port to 5583 via the TELNET_HOST_PORT env var
in docker-compose.yml.

Usage:
  ./run-compose-tests.sh              # up + test + down
  ./run-compose-tests.sh --no-down    # leave stack running
  ./run-compose-tests.sh --down       # just tear down

Part-of: <http://gitlab.vnc.biz/uxf/vnctalk-prosody/-/merge_requests/3>
2026-07-15 17:58:02 +02:00