Unit Testing Delta Live Tables (DLT) for Production-Grade Pipelines

Demo Type

Product Tutorial




What you’ll learn

Production-grade pipelines require unit tests to guarantee their robustness. Delta Live Tables lets you track your pipeline data quality with expectation in your table.

These expectations can also be leveraged to write integration tests, making robust pipelines.

In this demo, we’ll show you how to test your DLT pipeline and make it composable, easily switching input data with your test data.


To install the demo, get a free Databricks workspace and execute the following two commands in a Python notebook

%pip install dbdemos
import dbdemos

Dbdemos is a Python library that installs complete Databricks demos in your workspaces. Dbdemos will load and start notebooks, Delta Live Tables pipelines, clusters, Databricks SQL dashboards, warehouse models … See how to use dbdemos


Dbdemos is distributed as a GitHub project.

For more details, please view the GitHub README.md file and follow the documentation.
Dbdemos is provided as is. See the
License and Notice for more information.
Databricks does not offer official support for dbdemos and the associated assets.
For any issue, please open a ticket and the demo team will have a look on a best-effort basis.




Full Delta Live Tables Pipeline — Loan



CDC Pipeline With Delta Live Tables

demo thumb


Delta Lake

These assets will be installed in this Databricks demos: