mik-laj commented on issue #4846: [AIRFLOW-4030] adding start to singularity for airflow URL: https://github.com/apache/airflow/pull/4846#issuecomment-470708776 @vsoch You can made two types of tests: * integration tests, * unit test, In integration tests, you check behaviour of our application with all components. Your application should work in a closed box. In unit tests, you check the behaviour of only one class ex. you check if this class starts a different class with the appropriate parameters. You should mock all other classes via `unittest.mock`. Your class should work in a closed box. The selection of the appropriate type of tests depends on the required level of stability and complexity of the problem. In simple cases, **it is sufficient to use only unit tests**. You do not have to check everything if you trust the documentation of another project/class. I develop operators for GCP, so I am writing another type of tests - system tests. In this case, I write my code tests, but the code also communicates with other applications that I do not manage. It communicates with the real Google Cloud Platform platform.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services