apache / apache/airflow

Add e2e testing for "dag.test()`

Open
#59,319 5 comments 0 reactions 0 assignees View on GitHub
area:core good first issue kind:meta
Dominant language
Python
Stars
46.9k
Forks
17.8k
Avg merge
2d 7h
Merged PRs (30d)
484

Description

### Body

The `dag.test` is not very unit-testable, especially with `executor=True` - but it would be great to have some e2e tests showing that it works.

Follow up after #59314

### Committer

- [x] I acknowledge that I am a maintainer/committer of the Apache Airflow project.

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the dag.test behavior, especially with executor=True, and read the context from follow-up issue #59314. Add end-to-end coverage demonstrating that dag.test works in this mode, then run the relevant Airflow end-to-end test suite to verify the behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.