Skip to content

Commit 6595d51

Browse files
committed
Document steps to prepare test database
1 parent a448ca8 commit 6595d51

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
@@ -91,7 +91,7 @@ While you're developing and before submitting a patch, you'll want to test your
9191

9292
If you haven't already, install [Cargo-Nextest](https://nexte.st/docs/installation/pre-built-binaries/).
9393

94-
- Run the tests to the backend by running `cargo nextest run --workspace`. This requires a connection to a PostgreSQL database, set via the `DATABASE_URL` environment variable.
94+
- Run the tests to the backend by running `cargo nextest run --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.
9595
- Run the tests to the frontend by running `npm run test` in the `frontend` directory.
9696

9797
## 8. Submit a pull request

0 commit comments

Comments
 (0)