test: add server session integration harness
This commit is contained in:
+12
-4
@@ -15,10 +15,12 @@ Run focused unit tests with:
|
||||
scripts/test-unit --package ./internal/domain --run UUIDv7 --race
|
||||
```
|
||||
|
||||
The integration harness provides the Phase 0 `sample` suite and the incremental
|
||||
Phase 2 `store` suite. The latter uses a real temporary SQLite database in WAL
|
||||
mode and a real segment/audit filesystem; it does not mock the persistence
|
||||
boundary:
|
||||
The integration harness provides the Phase 0 `sample` suite, the incremental
|
||||
Phase 2 `store` suite, and the incremental Phase 3 `server-session` suite.
|
||||
The storage suite uses a real temporary SQLite database in WAL mode and a real
|
||||
segment/audit filesystem. The session suite uses a real HTTP/WebSocket listener,
|
||||
binary protobuf frames, SQLite fencing, and the race detector; neither mocks its
|
||||
respective durability or wire boundary:
|
||||
|
||||
```sh
|
||||
scripts/test-env doctor
|
||||
@@ -36,6 +38,12 @@ scripts/test-env logs --run-id store-smoke
|
||||
scripts/test-env collect --run-id store-smoke
|
||||
scripts/test-env reset --run-id store-smoke
|
||||
scripts/test-env purge --run-id store-smoke
|
||||
|
||||
scripts/test-integration --suite server-session --run-id session-smoke
|
||||
scripts/test-env logs --run-id session-smoke
|
||||
scripts/test-env collect --run-id session-smoke
|
||||
scripts/test-env reset --run-id session-smoke
|
||||
scripts/test-env purge --run-id session-smoke
|
||||
```
|
||||
|
||||
Suite output is capped at 1 MiB and stored as `artifacts/suite.log`. A failed
|
||||
|
||||
Reference in New Issue
Block a user