Skip to content

Commit 85c66a8

Browse files
committed
Document steps to prepare test database
1 parent f990cb3 commit 85c66a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/development/contributing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ While you're developing and before submitting a patch, you'll want to test your
8989

9090
### Run the tests
9191

92-
- Run the tests to the backend by running `cargo test --workspace`. This requires a connection to a PostgreSQL database, set via the `DATABASE_URL` environment variable.
92+
- Run the tests to the backend by running `cargo test --workspace`. This requires a connection to a PostgreSQL database, set via the `DATABASE_URL` environment variable. This also requires introspection data to be initialized by running `cargo sqlx migrate run` and `cargo sqlx prepare` from the `crates/storage-pg/` directory, or by having compiled with `SQLX_OFFLINE=1` at least once to use offline introspection data.
9393
- Run the tests to the frontend by running `npm run test` in the `frontend` directory.
9494

9595
## 8. Submit a pull request

0 commit comments

Comments
 (0)