Skip to content
This repository has been archived by the owner on May 15, 2018. It is now read-only.

Add tests for DscBuild #105

Open
dlwyatt opened this issue Feb 1, 2015 · 1 comment
Open

Add tests for DscBuild #105

dlwyatt opened this issue Feb 1, 2015 · 1 comment
Assignees

Comments

@dlwyatt
Copy link
Member

dlwyatt commented Feb 1, 2015

There are currently very few tests for Invoke-DscBuild and its various pieces. Part of this is due to how the module currently works, where each function is called with basically no parameters, and information is passed around via script-scope variables instead (in both directions).

It'll be easier to test, and for people to understand the code, if we refactor these so all function input is via parameters and all function output is via the output stream.

@dlwyatt dlwyatt self-assigned this Feb 1, 2015
@ArtWDrahn
Copy link
Contributor

This one has been on my list for a while, been trying to prove out my skills with the other modules before trying to tackle it. I am completely in favor of refactoring this to be more testable.

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

No branches or pull requests

2 participants