Skip to content

Commit

Permalink
Document how to run the pure Rust tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvestre authored Sep 16, 2023
1 parent fe4def8 commit f9c91fd
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit f9c91fd

Please sign in to comment.