Files
loadbalancer/docs/testing.md
T
2026-06-30 09:50:18 +02:00

28 lines
673 B
Markdown

# Testing
All project validation should run through Docker-based commands.
## Canonical test command
The canonical project validation command is:
```bash
docker compose config
```
## Smoke test
After replacing the example backend addresses and starting the stack, verify TCP connectivity from a client:
```bash
openssl s_client -connect LOAD_BALANCER_HOST:443 -servername EXPECTED_DNS_NAME
```
The certificate shown by `openssl` should be the backend certificate, not a certificate stored by Traefik.
## Test categories
- Docker/Compose validation: `docker compose config`.
- Runtime health: `docker compose ps`.
- TLS passthrough smoke test: `openssl s_client`.