aboutsummaryrefslogtreecommitdiffstats
path: root/AGENTS.md
diff options
context:
space:
mode:
Diffstat (limited to 'AGENTS.md')
-rw-r--r--AGENTS.md11
1 files changed, 9 insertions, 2 deletions
diff --git a/AGENTS.md b/AGENTS.md
index 282bcd6..34c40ba 100644
--- a/AGENTS.md
+++ b/AGENTS.md
@@ -40,8 +40,15 @@ Design and phasing: `docs/superpowers/specs/`. Phase 1 (core) is
## Testing
-No test suite yet. Planned (phase 1 spec): `python3 -m unittest discover
-tests`, with the GUI smoke test under `QT_QPA_PLATFORM=offscreen`.
+ python3 -m unittest discover -s tests
+
+Headless (`test_gui.py` sets `QT_QPA_PLATFORM=offscreen`), no VM needed.
+`test_remote.py` loads `remote/sbb-remote` with `SourceFileLoader` (no `.py`
+extension) and points it at a temp state dir through `SBB_CONFIG`. Two
+`ResourceWarning: subprocess ... is still running` lines are expected: the
+detached `_run` is never waited for. To try the helper on the VM without
+installing it, copy it to `/tmp` there and run it with `SBB_CONFIG` pointing
+at a config whose `state_dir` is under `/tmp`.
## Repo facts