Skip to content

Document steps to prepare test database #4746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/development/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ While you're developing and before submitting a patch, you'll want to test your

### Run the tests

- 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.
- 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.
- Run the tests to the frontend by running `npm run test` in the `frontend` directory.

## 8. Submit a pull request
Expand Down
Loading