9
Delivering Reliability in Your Data
In the previous chapter, we learned how to ensure that your code behaves consistently and how to use macros and external libraries in the code.
In this chapter, you will learn how to ensure the reliability of your data by adding tests that verify your expectations and check the results of your transformations.
Finally, you will learn which tests make the most sense in each layer, and we will add many tests and macros to our sample project.
This chapter covers the following topics:
- Testing to provide reliability
- Testing the right things in the right places
Testing to provide reliability
If you take away only one thing from this section, please be it this: “Tests are going to be your sleep-well-at-night ...
Get Data Engineering with dbt now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.