aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorJonatan Pettersson2023-03-11 14:03:19 +0000
committerGitHub2023-03-11 14:03:19 +0000
commitf435f3b2e973ab71b6e110a5b6327a6ac0cfa2be (patch)
tree7deff6deacefea01d8b0b71fa358461124773df4 /docs
parentbb720797432df9805288856c4f6e87a8c55728a8 (diff)
Document how to run tests (#6268)
Co-authored-by: Jonatan Pettersson <jonatan.pettersson@proton.me>
Diffstat (limited to 'docs')
-rw-r--r--docs/CONTRIBUTING.md8
1 files changed, 7 insertions, 1 deletions
diff --git a/docs/CONTRIBUTING.md b/docs/CONTRIBUTING.md
index d8c15c72..982b2237 100644
--- a/docs/CONTRIBUTING.md
+++ b/docs/CONTRIBUTING.md
@@ -33,7 +33,13 @@ inside the project. We use [xtask][xtask] as an ad-hoc task runner and
thus do not require any dependencies other than `cargo` (You don't have
to `cargo install` anything either).
-# Integration tests
+# Testing
+
+## Unit tests/Documentation tests
+
+Run `cargo test --workspace` to run unit tests and documentation tests in all packages.
+
+## Integration tests
Integration tests for helix-term can be run with `cargo integration-test`. Code
contributors are strongly encouraged to write integration tests for their code.