-
Notifications
You must be signed in to change notification settings - Fork 40
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 test templates from DscResource.Template #108
Comments
@johlju to which folder inside |
We should make sure there are an appropriate unit test example and integration test example. The tests cannot be copied 1:1 from DscResource.Template as they need to align with the the CI pipeline too. But it’s on the header that differ. Please the the blog post https://dsccommunity.org/blog/convert-a-module-for-continuous-delivery/ and the section about changing header in unit, integration and common modules. The should be added to this module and the Plaster template. I think you have to look ok at the Plaster template Config file to see the location. On the phone now so not easy to see for me at the moment, but should be fairly easy to see there I think. |
Look here: I started but haven't had time to finish. |
The example in DSC_ClassFolder is done for Pester v4, but needs updated for Pester 5. |
We should move and update the test templates from here https://github.com/PowerShell/DscResource.Template/tree/master/Tests to this repo. For example the integration tests are missing in this repo.
The text was updated successfully, but these errors were encountered: