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

Refactor code and add test #63

Merged
merged 3 commits into from
Dec 12, 2022
Merged

Refactor code and add test #63

merged 3 commits into from
Dec 12, 2022

Conversation

h42zhu
Copy link
Contributor

@h42zhu h42zhu commented Dec 5, 2022

This PR refactors the create-parameters.py code to be more functional and added a test to make sure the orb runs without errors. Testing for correctness requires more granular unit tests, which is generally omitted in other orbs.

src/scripts/create-parameters.py Outdated Show resolved Hide resolved
src/scripts/create-parameters.py Outdated Show resolved Hide resolved
src/scripts/create-parameters.py Show resolved Hide resolved
@h42zhu h42zhu force-pushed the add-unit-tests branch 7 times, most recently from 2381364 to 916a5cc Compare December 6, 2022 16:41
Copy link

@elliotforbes elliotforbes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

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

Successfully merging this pull request may close these issues.

3 participants