mirror of
https://github.com/uutils/coreutils
synced 2024-12-14 07:12:44 +00:00
Merge pull request #5279 from uutils/sylvestre-patch-2
Document how to run the pure Rust tests
This commit is contained in:
commit
2bb0778a4b
1 changed files with 6 additions and 0 deletions
|
@ -137,6 +137,12 @@ If you also want to test the core utilities:
|
|||
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
|
||||
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.
|
||||
|
|
Loading…
Reference in a new issue