test(e2e): cross-process harness over the §12 seams
Boots the real arr binary against wiremock Prowlarr/TMDB fakes serving recorded fixtures and a real Transmission container. Adds the env-only ARR_TMDB_URL seam so the daemon's TMDB client can be pointed at the fake. The full add-to-imported run lands on this harness once #21-#23 exist. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
a0c2717549
commit
b77a6bade6
@@ -27,10 +27,21 @@ deps:
|
||||
test:
|
||||
cargo nextest run --workspace --exclude arr-e2e
|
||||
|
||||
# End-to-end tests. Needs a Transmission container; not part of the push gate.
|
||||
# End-to-end tests. Needs a Transmission container (`just e2e-up`); not part
|
||||
# of the push gate. Never point this at the production Transmission LXC.
|
||||
e2e:
|
||||
cargo nextest run -p arr-e2e
|
||||
|
||||
# Throwaway local Transmission for `just e2e`, mirroring the CI service.
|
||||
e2e-up:
|
||||
docker run --rm -d --name arr-e2e-transmission \
|
||||
-e PUID=1000 -e PGID=1000 -p 9091:9091 \
|
||||
linuxserver/transmission:latest
|
||||
|
||||
# Stop and discard the local Transmission container.
|
||||
e2e-down:
|
||||
docker stop arr-e2e-transmission
|
||||
|
||||
# Frontend lint and typecheck. No-op until the SPA exists (issue #6). Probes
|
||||
# for package.json, not the directory: `just gen-client` writes into web/ and
|
||||
# must not turn the gate on before there is a project to check.
|
||||
|
||||
Reference in New Issue
Block a user