Testing
James loves writing tests
We use vitest for our unit and integration tests. You can run the tests with:
API Tests
/apps/api
is our core product and needs to be heavily tested. Unit tests are not enough so we also use integration tests:
integration
Full end to end tests require a running API either locally or in a deployed environment.
Clickhouse Tests
/internal/clickhouse
is where we store our ClickHouse queries. To run tests locally, please install goose.
To install goose
:
Edit on GitHub
Last updated on