section on testing

This commit is contained in:
William Casarin 2024-07-07 22:36:47 -05:00
parent 7387bcdf14
commit 98671c5aa8

View file

@ -38,4 +38,14 @@ Settings:
- `whitelist`: a list of IP4 or IP6 addresses that are allowed to bypass the ratelimit. - `whitelist`: a list of IP4 or IP6 addresses that are allowed to bypass the ratelimit.
## Testing
You can test your filters like so:
```sh
$ cargo build --release
$ ./target/release/noteguard
$ <test/test-inputs ./target/release/noteguard
```
[strfry]: https://github.com/hoytech/strfry [strfry]: https://github.com/hoytech/strfry