DATABASE_URL=$(grep TEST_DATABASE_URL .env_test | cut -d '"' -f 2) sqlx migrate run dont forget to apply migrations to the test database before proceeding to test