Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
chore: update HACKING docs with running tests and max open files fix
✗ CI failure Adrian Duke committed 4 months ago
commit df8a1d7e8e26863338f4b8db04fa347fff626b1f
parent cf023f750dee2681eb73e4e0704da137ea2195ef
3 failed (3 total) View logs
1 file changed +16 -0
modified HACKING.md
@@ -95,6 +95,22 @@ avoid storing development keys with `ssh-agent`.
Logging for `radicle-node` is turned on by default. Check the respective
`--help` output to set the log level.

+
## Running tests
+

+
You can run the full suite of tests from the root of the project with either:
+

+
```shell
+
$ cargo test
+

+
// or
+

+
$ cargo nextest run
+
```
+

+
[nextest](https://nexte.st/) is the preferred method and requires installing separately.
+

+
_**Note:** If you see a `Too many open files; class=Os (2)` log line you'll need to fix with an appropriate `ulimit -n XXXX` adjustment_
+

## Writing tests

### Documentation tests