Integration testing with dag.test()
Integrity tests verify loading and unit tests verify logic, but neither runs the actual Dag. Integration tests with dag.test() fill that gap by executing all tasks sequentially in a single process. An ETL pipeline called etl_output has been deployed that writes results to /tmp/etl_results.json.
You'll write an integration test that exercises the full pipeline and verifies its output.
Deze oefening maakt deel uit van de cursus
Building Data Pipelines with Airflow
Interactieve oefening met praktijkervaring
Zet theorie om in actie met een van onze interactieve oefeningen
Begin oefening