Testing with Dagster
In this course, learn best practices for testing, including unit tests, mocks, integration tests and applying them to Dagster.
This course is for those who would like to learn more about testing in Python and Dagster.
You'll need to know the basics of Dagster to complete this course. We recommend completing check out the Dagster Essentials course if you've never used Dagster before or want a refresher before getting started.
While you don’t need to be a Python expert to get started, you do need some Python familiarity to complete this course and use Dagster.
About this course
Project preview
Testing
Testing data applications
Prerequisites and installation
Set up local
Set up Codespace
Github Codespace
Overview
Unit tests
Testing dependencies
Knowledge check
Testing assets with run configurations
Knowledge check
Testing asset output types
Testing assets with execution context
Overview
Testing with mocks
Testing with resources
Knowledge check
Materializing resource tests
Mocking resources for testing
Overview
The limits of mocks
Integration tests
Knowledge check
Integration resources
Configuring integration tests
Integration fixtures
Overview
Asset checks
Definitions
Dagster objects
Knowledge check
Code locations