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

Adds some basic tests for functions #90

Merged
merged 3 commits into from Apr 14, 2020
Merged

Conversation

logicminds
Copy link
Contributor

This adds some much needed unit testing for functions. These tests don't represent 100% coverage but do allow us to add more testing easily in the future.

Some tests could not be created do to inability to use bolt datatypes and functions which is supposed to be in this PR.
https://github.com/puppetlabs/bolt/pull/1712/files

At this time I have not added testing for manifests but can generate some basic tests in the future.

  * Previously, there were no tests for functions, then I said
    let there be tests, and boom! here they are.

  * Some tests could not be created until
    https://github.com/puppetlabs/bolt/pull/1712/files is merged.
@reidmv reidmv merged commit 175e6af into puppetlabs:master Apr 14, 2020
@logicminds logicminds deleted the tests branch June 29, 2020 19:28
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.

None yet

2 participants