bash RUST_TEST_TASKS=1 POSTGRES_CONNECTION=postgres://{YOUR_USER}@localhost/jedi cargo test
Please see tests for working examples.