with_postgres_ready
with_postgres_ready makes it easy to write tests that relies on a postgres database being ready to accept connections. It does this by starting a Docker container with postgres, polling the database until it is ready, and then executing the block.
Examples
To get a connection url with the default configuration:
use *;
To get more control, use the Runner
builder:
use *;