@@ -160,6 +160,21 @@ This job performs **build, doc generation** and documentation **coverage**.
`dbt-build` generates executable SQL from source model, test, and analysis files
### `dbt-test` job
This job performs **test**. It is activated by setting $DBT_TEST_ENABLED to true
`dbt-test` execute [dbt test command](https://docs.getdbt.com/reference/commands/test) to performs [dbt unit tests](https://docs.getdbt.com/docs/build/unit-tests):
It is bound to the test stage, and uses the following variables:
| Input / Variable | Description | Default value |
| `test-enabled` / `DBT_TEST_ENABLED` | set to `true` to enable dbt test | _none_ (disabled) |
| `test-args` / `DBT_TEST_ARGS` | dbt test [options and arguments](https://docs.getdbt.com/reference/commands/test) | `--select resource_type:unit_test` |
:warning: By default this job is focused on [unit testing](https://docs.getdbt.com/docs/build/unit-tests), this job can also run [data testing](https://docs.getdbt.com/docs/build/data-tests#related-reference-docs) when overidding `test-args` input.