Expand description
Test infrastructure for #[bsql::test].
Creates isolated PostgreSQL schemas per test for parallel execution. Fixtures (SQL files) are applied to the schema before the test runs. Schema is dropped after the test – even on panic.
Structs§
- Test
Context - Test context holding the pool and cleanup info. Drops the schema on cleanup.
Functions§
- setup_
test_ schema - Set up an isolated test schema with fixtures.