Add Pester test suite for YamlCreate.InstallerDetection module#203
Draft
Add Pester test suite for YamlCreate.InstallerDetection module#203
Conversation
Copilot
AI
changed the title
[WIP] Add Pester tests for YamlCreate.InstallerDetection module
Add Pester test suite for YamlCreate.InstallerDetection module
Jan 2, 2026
Owner
|
@copilot - Add a workflow file that will run all the pester tests when a Pull request is submitted. Use the workflow file which calls ScriptAnalzyer as a template |
Author
Added GitHub Actions workflow file |
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
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>
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.