Skip to content

Commit b5b4f47

Browse files
committed
Document how to run tests
1 parent 5cc52cf commit b5b4f47

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

docs/development.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,11 @@ If an `.env` file is present, the environment variable listed in it will be pick
8888
$ export DATABASE_URL=postgres://bors:bors@localhost:5432/bors
8989
```
9090

91+
### Running tests
92+
Having the database up and running, with the `DATABASE_URL` set, is required to run the tests.
93+
94+
Make sure to also run `cargo sqlx migrate run` to apply the migrations to the database.
95+
9196
### Updating the DB schema
9297
1) Generate a new migration
9398
```console

0 commit comments

Comments
 (0)