This is an automated email from the ASF dual-hosted git repository.

kaxilnaik pushed a commit to branch v1-10-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 413ed654645f0cdc7056d84db35ec43a5f475afe
Author: Bas Harenslak <[email protected]>
AuthorDate: Sat Apr 11 18:35:38 2020 +0200

    Add documentation for CLI command airflow dags test (#8251)
    
    (cherry picked from commit 1688b5158e1d8018336ea8d8b52234163abfaab5)
---
 docs/tutorial.rst | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/tutorial.rst b/docs/tutorial.rst
index 22aa88e..873900d 100644
--- a/docs/tutorial.rst
+++ b/docs/tutorial.rst
@@ -306,6 +306,11 @@ their log to stdout (on screen), doesn't bother with 
dependencies, and
 doesn't communicate state (running, success, failed, ...) to the database.
 It simply allows testing a single task instance.
 
+The same applies to ``airflow test [dag_id] [execution_date]``, but on a DAG 
level. It performs a single
+DAG run of the given DAG id. While it does take task dependencies into 
account, no state is registered in the
+database. It is convenient for locally testing a full run of your DAG, given 
that e.g. if one of your tasks
+expects data at some location, it is available.
+
 Backfill
 ''''''''
 Everything looks like it's running fine so let's run a backfill.

Reply via email to