refactor(substreams-testing): Use Pydantic to deserialize test_assets.yaml

This commit is contained in:
Florian Pellissier
2024-08-06 13:32:58 +02:00
committed by tvinagre
parent 09d266a810
commit 95efda0423
10 changed files with 365 additions and 233 deletions

View File

@@ -14,7 +14,8 @@ The testing suite builds the `.spkg` for your Substreams module, indexes a speci
## Test Configuration
Tests are defined in a `yaml` file. A template can be found at `substreams/ethereum-template/test_assets.yaml`. The configuration file should include:
Tests are defined in a `yaml` file. A template can be found at
`substreams/ethereum-template/integration_test.tycho.yaml`. The configuration file should include:
- The target Substreams config file.
- The expected protocol types.