Document how to run tests (#6268)
Co-authored-by: Jonatan Pettersson <jonatan.pettersson@proton.me>
This commit is contained in:
parent
bb72079743
commit
f435f3b2e9
1 changed files with 7 additions and 1 deletions
|
@ -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
|
thus do not require any dependencies other than `cargo` (You don't have
|
||||||
to `cargo install` anything either).
|
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
|
Integration tests for helix-term can be run with `cargo integration-test`. Code
|
||||||
contributors are strongly encouraged to write integration tests for their code.
|
contributors are strongly encouraged to write integration tests for their code.
|
||||||
|
|
Loading…
Reference in a new issue