test: run unit and integration tests

This commit is contained in:
Elio Bischof
2023-05-25 17:11:36 +02:00
parent 5d36a54849
commit f40f7fde76
15 changed files with 272 additions and 54 deletions

View File

@@ -38,6 +38,25 @@ However, it might be easier to develop against your ZITADEL Cloud instance
if you don't have docker installed
or have limited resources on your local machine.
### Testing
You can execute the following commands in the following directories:
- apps/login
- packages/zitadel-client
- packages/zitadel-server
- packages/zitadel-react
- packages/zitadel-next
- The projects root directory: all tests in the project are executed
```sh
# Run unit and integration tests once
pnpm run test -- --passWithNoTests
# Rerun unit and integration tests on file changes
pnpm run test:watch -- --passWithNoTests
```
### Developing Against Your Local ZITADEL Instance
```sh