Isolate backend tests from live node wallets and services

This commit is contained in:
archipelago
2026-09-29 15:15:51 -04:00
parent b634f41a1c
commit 1f9abefc35
8 changed files with 148 additions and 7 deletions
+8
View File
@@ -21,3 +21,11 @@ While its status is OPEN:
This priority comes from the user's explicit instruction on 2026-09-15. It remains
in effect across sessions until the documented acceptance criteria are met or the
user explicitly changes it.
## Unit tests on a live node
Run backend unit tests through `scripts/test-backend-isolated.sh`. Do not run
unrestricted `cargo test` on a node with installed apps: older mocked-runtime
tests still reached real service commands. The runner isolates wallet data,
service buses, container storage, networking, and process IDs. Compilation with
`cargo test --no-run` is safe. Keep separately authorized live checks explicit.