docs: add instructions for running unit test(s)

old-agentic-v1^2
Philipp Burckhardt 2023-06-08 22:04:31 -04:00
rodzic 64b0048738
commit 0d2f6d1108
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: A2C3BCA4F31D1DDD
1 zmienionych plików z 14 dodań i 0 usunięć

Wyświetl plik

@ -56,6 +56,18 @@ Ensure you have `REDIS_URL_TEST` set to a valid redis connection URL.
pnpm test
```
Agentic uses [ava][ava] as its test runner. To just execute unit tests, run:
```bash
pnpm test:unit
```
To run a specific test, use the `--match` flag like so:
```bash
pnpm test:unit --match='name of the test'
```
### Scratch
- `@agentic/core`
@ -80,3 +92,5 @@ pnpm test
## License
MIT © [Travis Fischer](https://transitivebullsh.it)
[ava]: https://github.com/avajs/ava