test: complete VAD unit and integration tests

Including an integration test with real voice audio.

ref: N25B-213
This commit is contained in:
Twirre Meulenbelt
2025-10-23 21:17:41 +02:00
parent ca5e59d029
commit d47074d091
10 changed files with 312 additions and 22 deletions

View File

@@ -24,10 +24,16 @@ uv run fastapi dev src/control_backend/main.py
```
## Testing
Testing happens automatically when opening a merge request to any branch. If you want to manually run the test suite, you can do so by running the following:
Testing happens automatically when opening a merge request to any branch. If you want to manually run the test suite, you can do so by running the following for unit tests:
```bash
uv run --only-group test pytest
uv run --only-group test pytest test/unit
```
Or for integration tests:
```bash
uv run --only-group integration-test pytest test/integration
```
## GitHooks