adding test fixtures so that we can run tests 'offline'

This commit is contained in:
orangecoding
2026-04-21 13:37:00 +02:00
parent 64d0515c79
commit 8c5607e20b
27 changed files with 58632 additions and 79 deletions

View File

@@ -188,10 +188,25 @@ You should now be able to access _Fredy_ from your browser. Check your Terminal
### Run Tests
## "Online" tests
These tests are directly executed against the actual providers.
``` bash
yarn run test
```
## "Offline" tests
These tests are using the test fixtures instead of the actual providers. Much faster and "good enough" to test the core functionality.
``` bash
yarn run test:offline
```
## Download new fixtures
If you have to refresh the fixtures (every once in a while needed because the providers change their code), run this command:
``` bash
yarn run download-fixtures
```
------------------------------------------------------------------------
## 📐 Architecture