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

Move workflow code into functions and write unit tests for them #1402

Open
1 task
james-garriss opened this issue Nov 5, 2024 · 1 comment
Open
1 task
Assignees
Labels
epic A high-level objective issue encompassing multiple issues instead of a specific unit of work

Comments

@james-garriss
Copy link
Collaborator

💡 Summary

Write unit tests for all the code in the workflows.

Motivation and context

All code should be tested to prevent unknown problems from biting us unexpectedly (which has happened).

Implementation notes

Look through all the workflows.
Pull out any code.
Put them into functions in "utils/workflow".
Write Pester unit tests for them.
Verify that the workflows still work and that the unit tests pass.

Acceptance criteria

How do we know when this work is done?

  • Workflow could is successfully unit tested.
@james-garriss james-garriss added the epic A high-level objective issue encompassing multiple issues instead of a specific unit of work label Nov 5, 2024
@james-garriss james-garriss self-assigned this Nov 5, 2024
@james-garriss
Copy link
Collaborator Author

TODO: I need to create individual issues for each workflow that needs to be modified and add them to this epic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic A high-level objective issue encompassing multiple issues instead of a specific unit of work
Projects
None yet
Development

No branches or pull requests

1 participant