fn delete_database_for_testing(ctx: &Context, path: &Path) -> ResultExpand description
For unit and integration tests; removes the database directory when called. To prevent misuse, cfg!(test) must be true for a unit test or the integration test server is named localhost.