test: add provider postgres conformance
This commit is contained in:
parent
1f2ac6666f
commit
a1692c62e3
7 changed files with 347 additions and 16 deletions
|
|
@ -308,10 +308,15 @@ dedicated bootstrap tables, applies the bootstrap SQL through `migrate`, and
|
|||
uses the shared conformance harness with a fake Postgres connection for local
|
||||
unit coverage.
|
||||
|
||||
USER-WP-0019 adds optional provider-backed conformance tests. They are skipped
|
||||
by default and run only when a dedicated test database is supplied through
|
||||
`USER_ENGINE_POSTGRES_TEST_DSN` and destructive cleanup is acknowledged with
|
||||
`USER_ENGINE_POSTGRES_TEST_RESET=1`. The helper supports either `psycopg` or
|
||||
`psycopg2` when a provider repository installs one of them. Cleanup touches
|
||||
only the bootstrap-owned `user_engine_*` tables.
|
||||
|
||||
Likely future follow-up work should be:
|
||||
|
||||
- Add provider-backed conformance tests for locking, uniqueness races,
|
||||
migration readiness, outbox claiming, redacted diagnostics, and restore
|
||||
validation.
|
||||
- Add conformance tests that run against both in-memory and Postgres stores.
|
||||
- Add provider-backed conformance tests for locking, uniqueness races, outbox
|
||||
claiming, redacted diagnostics, and restore validation.
|
||||
- Integrate the adapter with the future NetKingdom Postgres provider repo.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue