sqlx-pg-test-template 0.1.2

Faster version of #[sqlx-test] macro for PostgreSQL
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Those tests ensure that macro compiles

// For now, now CI
#[cfg(test)]
mod test {
    #[sqlx_pg_test_template::test]
    async fn test_macro_default_custom(_pool: sqlx::Pool<sqlx::Postgres>) {}

    #[sqlx_pg_test_template::test(max_connections = 5)]
    async fn test_macro_default_custom_mc(_pool: sqlx::Pool<sqlx::Postgres>) {}

    #[sqlx_pg_test_template::test(template = "postgres")]
    async fn test_macro_default_custom_mc_tpl(_pool: sqlx::Pool<sqlx::Postgres>) {}
}