Add Pester Tests for YamlCreate.InstallerDetection#327538
Merged
denelon merged 6 commits intomicrosoft:masterfrom Apr 11, 2026
Merged
Add Pester Tests for YamlCreate.InstallerDetection#327538denelon merged 6 commits intomicrosoft:masterfrom
YamlCreate.InstallerDetection#327538denelon merged 6 commits intomicrosoft:masterfrom
Conversation
denelon
approved these changes
Jan 2, 2026
denelon
approved these changes
Jan 2, 2026
denelon
approved these changes
Jan 4, 2026
denelon
previously approved these changes
Mar 14, 2026
msftrubengu
reviewed
Mar 14, 2026
Co-authored-by: Trenly <12611259+Trenly@users.noreply.github.com>
Co-authored-by: Trenly <12611259+Trenly@users.noreply.github.com>
Co-authored-by: Trenly <12611259+Trenly@users.noreply.github.com>
113e497 to
6987a50
Compare
3 tasks
Agent-Logs-Url: https://github.com/Trenly/winget-pkgs/sessions/98d1cf1a-1495-4141-9546-a7d4ec864292 Co-authored-by: Trenly <12611259+Trenly@users.noreply.github.com>
…those in AfterAll Agent-Logs-Url: https://github.com/Trenly/winget-pkgs/sessions/d5eba23a-35fe-45d0-bef7-537b77b51ba8 Co-authored-by: Trenly <12611259+Trenly@users.noreply.github.com>
Collaborator
|
@msftrubengu any other concerns? |
Contributor
Author
|
@denelon - Mind clicking to approve the workflows for this PR so they can have at least one run before this is merged? |
ItzLevvie
approved these changes
Apr 11, 2026
denelon
approved these changes
Apr 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds comprehensive Pester tests for the
YamlCreate.InstallerDetectionPowerShell module, which provides installer type detection and PE file parsing capabilities.Changes
YamlCreate.InstallerDetection.Tests.ps1 (375 lines, 35 tests)
Get-MSITable,Get-MSIProperty,Get-Win32ModuleResource) that may not be available in all test environmentsREADME.md
.github/workflows/pesterTests.yaml
*.Tests.ps1files in the repositoryTest Coverage
Test results: 32 passed, 3 skipped (require valid ZIP/PE structures), 0 failed.
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
Microsoft Reviewers: Open in CodeFlow