Skip to content

Commit 850bdd7

Browse files
authored
Docs: Run local tests via cargo-nextest (element-hq#4873)
2 parents d11e0b2 + 13b6994 commit 850bdd7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

docs/development/contributing.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ 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+
If you haven't already, install [Cargo-Nextest](https://nexte.st/docs/installation/pre-built-binaries/).
93+
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.
9395
- Run the tests to the frontend by running `npm run test` in the `frontend` directory.
9496

9597
## 8. Submit a pull request

0 commit comments

Comments
 (0)