-
Notifications
You must be signed in to change notification settings - Fork 52
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 Module to remove Harness Structure - Fixes #169 #182
Conversation
Codecov Report
@@ Coverage Diff @@
## dev #182 +/- ##
==================================
- Coverage 94% 94% -1%
==================================
Files 6 8 +2
Lines 799 873 +74
==================================
+ Hits 758 821 +63
- Misses 41 52 +11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will continue later :) Looks good so far
Reviewed 41 of 75 files at r1.
Reviewable status: 41 of 75 files reviewed, 1 unresolved discussion (waiting on @PlagueHO)
CHANGELOG.md, line 10 at r1 (raw file):
CODE_OF_CONDUCT
We should escape these? CODE\_OF\_CONDUCT
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just two minor issues.
Reviewed 34 of 75 files at r1.
Reviewable status: all files reviewed, 3 unresolved discussions (waiting on @PlagueHO)
Tests/Unit/StorageDsc.Common.Tests.ps1, line 14 at r1 (raw file):
} Import-Module (Join-Path -Path $script:moduleRoot -ChildPath 'DSCResource.Tests\TestHelper.psm1') -Force
This should have -Name
too?
Examples/Resources/WaitForDisk/3-WaitForDisk_InitializeDataDiskWithAccessPath.ps1, line 26 at r1 (raw file):
available space after c:\SQLData has been created. #> Configuration WaitForDisk_InitializeDataDiskWithAccessPath
This is named exactly as the previous example in file '2-...'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you so much for reviewing @johlju - great job as always and very thorough! I've completed all requested changes.
Reviewable status: 57 of 75 files reviewed, 3 unresolved discussions (waiting on @johlju)
CHANGELOG.md, line 10 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
CODE_OF_CONDUCT
We should escape these?
CODE\_OF\_CONDUCT
Done.
Tests/Unit/StorageDsc.Common.Tests.ps1, line 14 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
This should have
-Name
too?
Done. And throughout all tests.
Examples/Resources/WaitForDisk/3-WaitForDisk_InitializeDataDiskWithAccessPath.ps1, line 26 at r1 (raw file):
Previously, johlju (Johan Ljunggren) wrote…
This is named exactly as the previous example in file '2-...'.
This was a duplicate so have removed it completely!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to help out! 😃
Reviewed 18 of 18 files at r2.
Reviewable status: complete! all files reviewed, all discussions resolved
Thank you so much @johlju! |
Pull Request (PR) description
This PR refactors the module structure to remove the need for a test harness.
It also updates the module to submit examples to the PS Gallery.
This Pull Request (PR) fixes the following issues
Task list
Entry should say what was changed, and how that affects users (if applicable).
and comment-based help.
@johlju - would you mind reviewing at some point? It is a bit of a large one, but is mainly just moving files around.
This change is