jscheffl opened a new pull request, #60020: URL: https://github.com/apache/airflow/pull/60020
While I was fixing the Airflow CTL integration tests yesterday I realized that they use Pytest but wrap around a lot of code that is not needed and defeats the purpose of pytest, therefore as a starting point propose to change integration tests like here in: - Not looping in the pytest execution but use parameterize and have the looping in pytest - Not putting all stdout to the logs only for failed tests - Using fixtures only for fixtures not for simple parameter generation - Putting in conftest only the general stuff, all that is related for a test should be located at the test - Using assertions for checks and not custom code that is using it/then/else After this I propose to apply the pattern to all the other integration tests as well. -- 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. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
