Sampler
Sampler copied to clipboard
Module template with build pipeline and examples, including DSC elements.
### Problem description When creating a 'CompleteSample' with the command ```powershell New-SampleModule -DestinationPath d:\ -ModuleType CompleteSample -ModuleAuthor Me -ModuleName Test1 -ModuleDescription None -ModuleVersion 0.1.0 -LicenseType MIT ``` Pester tests are...
### Problem description When I add a script to ScriptsToProcess in the module .psd1 file, the QA tests fail to load and error out. If I remove the script from...
### Problem description When modifying Resolve-Dependency.psd1 to use a private internal gallery, build.ps1 throws errors because the arguments presented to Register-PSRepository in the splat are wrong. This is the original...
@gaelcolas the [Stucco](https://github.com/devblackops/Stucco) module maintained by @devblackops provides a Plaster template to create PowerShell modules including support for mkdocs, pipelines etc. Are there any plans to merge the efforts here?...
There are a few functions and code in this module that handle JaCoCo code coverage format. Suggest moving functions out of this module and making them generic in a separate...
### Problem description Fails to build the module in the pipeline if there is a composite resource. ### Verbose logs ```text 2023-01-10T15:46:43.7511363Z =============================================================================== 2023-01-10T15:46:43.7513500Z [96m BUILD DSCRESOURCESTOEXPORT MODULEBUILDER[0m 2023-01-10T15:46:43.7532721Z [90m[0m...
### Problem description Currently the hit count is overwritten when the merge document's `` has a hit count higher than the original document's ``: https://github.com/gaelcolas/Sampler/blob/02cc8da49a8d837f48c167db56c1ace18fdb5bef/Sampler/Public/Merge-JaCoCoReport.ps1#L89-L96 But shouldn't the hit count...
### Problem description When running the build script to test a specific test the hqrmtest are also run which takes time in the development process. ``` .\build.ps1 -Tasks test -PesterPath...
### Problem description Currently when running `./build.ps1 -Task test -PesterPath ‘testfile’` it runs code coverage on all files in the built module result in a lot out missed lines (especially...
Currently the build tasks are in the root of the repository in the folder `.build/tasks`. The problem with that is that getting code coverage visualization does not work as expected...