assemblrr/tests
soulis-1256 8cb601f9e7
Prepare install bind mounts before any container starts
Docker creates missing volume parents as root, which broke setup after
the early VPN test (config/ owned by root). Add prepare_install_dirs,
call it before VPN test and full compose up, and reuse it on CLI start.
2026-08-05 14:18:24 +03:00
..
integration Use .env.example as the env template and cover it with tests 2026-08-05 14:01:04 +03:00
unit Prepare install bind mounts before any container starts 2026-08-05 14:18:24 +03:00
helpers.sh Use .env.example as the env template and cover it with tests 2026-08-05 14:01:04 +03:00
README.md Use .env.example as the env template and cover it with tests 2026-08-05 14:01:04 +03:00
run.sh Prepare install bind mounts before any container starts 2026-08-05 14:18:24 +03:00

Tests

Runtime hooks stay in scripts/. Tests live here.

./tests/run.sh              # unit
./tests/run.sh compose      # docker compose config
./tests/run.sh all          # unit + compose + shellcheck (if installed)
make test

Live integration

Hits a running qBittorrent (stalls connections, runs vpn-watchdog). Opt-in only:

ASSEMBLRR_ALLOW_LIVE_TEST=1 ./tests/run.sh integration

Install dir: ASSEMBLRR_DIR, ASSEMBLRR_CONFIG, then ~/assemblrr.