1
Fork 0
mirror of https://github.com/RGBCube/uutils-coreutils synced 2025-07-27 19:17:43 +00:00

Document how to run the pure Rust tests

This commit is contained in:
Sylvestre Ledru 2023-09-16 15:37:23 +02:00 committed by GitHub
parent fe4def8ac0
commit f9c91fda2f
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.