Audit finding
The test suite repeatedly defines local variants of:
TemporaryDirectory;
- STA-thread runners;
- repository-root/source-file lookup;
- settings coordinator/store setup;
- application identities and assignments;
- fake runtime overlays and notification lists.
The duplicated setup obscures test intent and creates multiple cleanup/timeout implementations.
Target state
Create small shared test utilities and focused scenario builders. Avoid one universal “god fixture”.
Suggested utilities:
TemporaryTestDirectory;
StaTest.Run;
- repository/source locator;
- settings test store/coordinator factory;
- assignment/profile builders;
- focused fake/recording ports.
Acceptance criteria
Audit finding
The test suite repeatedly defines local variants of:
TemporaryDirectory;The duplicated setup obscures test intent and creates multiple cleanup/timeout implementations.
Target state
Create small shared test utilities and focused scenario builders. Avoid one universal “god fixture”.
Suggested utilities:
TemporaryTestDirectory;StaTest.Run;Acceptance criteria