Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement Unit Testing for DAGs using PyTest #26

Open
esloch opened this issue May 18, 2023 · 0 comments
Open

Implement Unit Testing for DAGs using PyTest #26

esloch opened this issue May 18, 2023 · 0 comments

Comments

@esloch
Copy link
Collaborator

esloch commented May 18, 2023

Description:

Currently, there are no unit tests in place to verify the correctness and functionality of the DAGs within the alertflow/dags directory. This issue aims to introduce unit testing using PyTest framework to ensure the reliability and robustness of the DAGs.

The following tasks will be undertaken:

  • Test Setup: Create a dedicated test directory structure and configuration files for running PyTest.

  • Test Cases: Write comprehensive test cases to cover various scenarios and edge cases for each DAG. Test cases should focus on validating the correctness of task dependencies, parameterization, and expected outcomes.

  • Continuous Integration: Integrate the test suite into the project's CI/CD pipeline to automatically run the tests on every code change or scheduled basis.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant