When working with data, you want to be sure that specific requirements and standards are satisfied by your data. When transforming and modeling the data, having a tool that automatically tests the output data could be a good solution in order to have high-quality data.
Testing is a core component when working with data, so dbt allows you to test your sources and models. You can use native dbt tests, but you can also define your own.
In this lab step, you will test your dbt sources. You will then create a custom test, and test a model both with native and custom dbt tests.
Upon completion of this lab, you will be able to:
To get the most from this lab, you should have basic knowledge of dbt. To get ready, you can use the following labs: