# `mix test.matrix`

Runs `mix test` once per supported Bolt version and prints a pass/fail
summary. All versions are attempted even if one fails; exits non-zero if
any version failed.

    mix test.matrix

Extra flags are forwarded to each `mix test` invocation:

    mix test.matrix --only core

Environment variables:
- `BOLT_TCP_PORT` — port for Bolt 5.x servers (defaults to 7687)
- `BOLT_6_TCP_PORT` — port for Bolt 6.x servers (defaults to `BOLT_TCP_PORT`)

Example with the docker-compose services (Bolt 5.x on 7687, Bolt 6.x on 7689):

    BOLT_6_TCP_PORT=7689 mix test.matrix

---

*Consult [api-reference.md](api-reference.md) for complete listing*
