Skip to main content

setup_test_schema

Function setup_test_schema 

Source
pub async fn setup_test_schema(
    fixtures_sql: &[&str],
) -> Result<TestContext, BsqlError>
Expand description

Set up an isolated test schema with fixtures.

Called by generated #[bsql::test] code. Not intended for direct use.

fixtures_sql contains compile-time embedded SQL strings from fixture files.