Integration tests for Feast are run on argo workflows. The tests follow the following steps:
- Provision infrastructure using Terraform
- Test using pytest
- Teardown infrastructure using Terraform
The tf/modules directory contains Terraform modules to set up the necessary infrastructure. Currently contains:
cluster: kubernetes cluster with necessary permissions to run Feast jobsfeast-helm: Feast helm installation.
The tests directory contains the integration tests. Each folder should contain the following:
- The terraform scripts to set up the necessary infra.
- Data to run the tests on
- A pytest file that executes the ingestion jobs and then tests for correctness.
- Argo workflow yaml to orchestrate the entire process.
Multiple tests can be run on the same infrastructure.
To add your own tests, either (1) create a new test case within an existing folder or (2) create a new folder with the resources mentioned above.