docs: add instructions for running unit test(s)

old-agentic-v1^2
Philipp Burckhardt 2023-06-08 22:04:31 -04:00
rodzic 4eb03ac8d6
commit fe2b398d05
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