Tests configuration
In Elementary Cloud you can configure your tests in the UI. This requires you to connect a code repository to your project. Configuring a test will open a pull request / merge request in your code repository.
Step 1 - Choose a target
Step 2 - Choose a test
Step 3 - Configure the test
Step 4 - Review and submit
In Elementary Cloud you can configure your tests in the UI. This requires you to connect a code repository to your project. Configuring a test will open a pull request / merge request in your code repository.
Step 1 - Choose a target
Step 2 - Choose a test
Step 3 - Configure the test
Step 4 - Review and submit
The anomaly detection tests configuration is defined in .yml
files in your dbt project, just like in native dbt tests.
The configuration of Elementary is dbt native and follows the same priorities and inheritance. The more granular and specific configuration overrides the less granular one.
Elementary searches and prioritizes configuration in the following order:
For models tests:
- Test arguments.
- Tests path configuration under
tests
key indbt_project.yml
. - Model configuration.
- Path configuration under
models
key indbt_project.yml
. - Global vars in
dbt_project.yml
.
For sources tests:
- Test arguments.
- Tests path configuration under
tests
key indbt_project.yml
. - Table configuration.
- Source configuration.
- Global vars in
dbt_project.yml
.