Ghost/ghost/tinybird/datasources/fixtures/README.md
Hannah Wolfe 606fcbabe7 Added a set of tests for our tinybird setup
- TODO: make these run in CI
- Right now you run them by running `yarn tb` and then `./script/branch_and_test.sh`
- These are snapshot tests that check we get the desired result

Co-authored-by: alejandromav <hi@alejandromav.com>
2024-09-27 14:30:42 +01:00

543 B

Datasource fixtures

NDJSON files

These files are fixtures used for running tests

Schema JSON files

The file mockingbird-schema.json is a schema for generating fake data using the Mockingbird CLI.

The CLI is installed via npm:

npm install -g @tinybirdco/mockingbird-cli

The command I'm currently using to generate the data is:

mockingbird-cli tinybird --schema ghost/tinybird/datasources/fixtures/mockingbird-schema.json --endpoint gcp_europe_west3 --token xxxx --datasource analytics_events --eps 50 --limit 5000