Document how to run tests (#6268)

Co-authored-by: Jonatan Pettersson <jonatan.pettersson@proton.me>
This commit is contained in:
Jonatan Pettersson 2023-03-11 15:03:19 +01:00 committed by GitHub
parent bb72079743
commit f435f3b2e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.