1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-08-01 13:37:48 +00:00

Merge pull request #5279 from uutils/sylvestre-patch-2

Document how to run the pure Rust tests
This commit is contained in:
Daniel Hofstetter 2023-09-16 16:44:27 +02:00 committed by GitHub
commit 2bb0778a4b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -137,6 +137,12 @@ If you also want to test the core utilities:
cargo test -p uucore -p coreutils cargo test -p uucore -p coreutils
``` ```
Or to test the pure Rust tests in the utility itself:
```shell
cargo test -p uu_ls --lib
```
Running the complete test suite might take a while. We use [nextest](https://nexte.st/index.html) in Running the complete test suite might take a while. We use [nextest](https://nexte.st/index.html) in
the CI and you might want to try it out locally. It can speed up the execution time of the whole the CI and you might want to try it out locally. It can speed up the execution time of the whole
test run significantly if the cpu has multiple cores. test run significantly if the cpu has multiple cores.