You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Integration test coverage exists for at least the combinations fixed in #560, e.g.:
Features = 'azurepipelines','github','codecov','vscode','UnitTests','ModuleQuality','Build'
Features = 'All'
with assertions that azure-pipelines.yml, .github/*, codecov.yml, .vscode/, and GitVersion.yml (when gitversion is selected) appear in the generated tree.
Current behavior
Only a git-only scaffold is validated end-to-end.
Suggested solution
Add one or more Context blocks to CustomModulePlasterTemplate.Integration.Tests.ps1 covering the combinations above.
Confirm that the 'output' and 'output/RequiredModules' folders added to the expected-folders list in CustomModule fixes and Copilot repo guidance #560 are actually produced by the template from a clean $TestDrive and are not leaking from a prior ./build.ps1 run.
Operating system the target node is running
N/A
PowerShell version and build the target node is running
N/A
Module version used
Sampler Unreleased / post-#560.
Problem description
PR #560 fixed several real bugs in
Sampler/Templates/Sampler/plasterManifest.xml:Featureschoice values (azurepipelines,vscode,github,codecov).Features.Countprompt conditions forUseGit,UseGitVersion,UseCodeCovIo,UseGitHub,UseAzurePipelines,UseVSCode,License,LicenseType.GitHubOwnercondition using-containsagainst an integer.azure-pipelines.ymlgated on the non-existentAzure-Pipelinesfeature value.The only
CustomModuleintegration test still scaffolds withFeatures = 'git', so none of the fixed paths are exercised end-to-end.Verbose logs
N/A
How to reproduce
tests/Integration/PlasterTemplates/Sampler/CustomModulePlasterTemplate.Integration.Tests.ps1.ContextusesFeatures = 'git'.Expected behavior
Integration test coverage exists for at least the combinations fixed in #560, e.g.:
Features = 'azurepipelines','github','codecov','vscode','UnitTests','ModuleQuality','Build'Features = 'All'with assertions that
azure-pipelines.yml,.github/*,codecov.yml,.vscode/, andGitVersion.yml(whengitversionis selected) appear in the generated tree.Current behavior
Only a
git-only scaffold is validated end-to-end.Suggested solution
Contextblocks toCustomModulePlasterTemplate.Integration.Tests.ps1covering the combinations above.'output'and'output/RequiredModules'folders added to the expected-folders list in CustomModule fixes and Copilot repo guidance #560 are actually produced by the template from a clean$TestDriveand are not leaking from a prior./build.ps1run.Operating system the target node is running
N/A
PowerShell version and build the target node is running
N/A
Module version used
Sampler
Unreleased/ post-#560.