You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Joe Schmid (JIRA)" <ji...@apache.org> on 2017/03/25 20:13:41 UTC
[jira] [Created] (AIRFLOW-1042) Easy Unit Testing with Docker
Joe Schmid created AIRFLOW-1042:
-----------------------------------
Summary: Easy Unit Testing with Docker
Key: AIRFLOW-1042
URL: https://issues.apache.org/jira/browse/AIRFLOW-1042
Project: Apache Airflow
Issue Type: Improvement
Components: tests
Reporter: Joe Schmid
Assignee: Joe Schmid
Running Airflow unit tests should be as easy as possible, especially for new contributors. This is challenging due to the various external components (MySQL, Postgres, etc.) that unit tests depend on.
This improvement uses Docker and Docker Compose to give contributors a very simple way to create a read-made environment for unit testing. To run unit tests will be a two step process:
> docker-compose up -d
> ./scripts/docker/unittest/run.sh
This use of Docker could also be expanded in the future to run all of the tox tests like Travis does.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)