test: the suites write nothing outside their own folders and send nothing anywhere #162

Merged
james.maes merged 2 commits from test/161-test-safety into main 2026-11-10 23:02:43 +00:00
2 Commits
Author SHA1 Message Date
james.maesandClaude Fable 5.2 01668e9590 test: the newer workspace tests use the tracked temp folders too
Refs #161

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-11-10 17:02:38 -06:00
james.maesandClaude Fable 5.2 7a0864862d test: the suites write nothing outside their own folders and send nothing anywhere
- Settings tests name a folder (AppSettings.Load and Save take an optional
  directory) instead of setting GCLO_DATA_DIR for the whole process, where
  a save could land in the developer's real settings.json.
- The Credential Manager vault tests use entry names of their own, never
  the names the installed app uses.
- The UI smoke test types a text too short to be taken for a token; the
  made-up token it typed before was sent to the real API to be refused.
- The synchronous progress double reports one at a time, as the UI thread
  does; several workers could enter the view model's handler at once.
- Every temp folder a workspace test asks for is removed afterwards.
- An assertion for the test that had none; time limits for two awaits.

Closes #161

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Signed-off-by: James Maes <james@kof22.com>
2026-11-10 16:59:47 -06:00