Skip to content

test: add coverage for Build-PSBuildMarkdown#113

Open
nthbotast wants to merge 1 commit intopsake:mainfrom
nthbotast:test/build-markdown-99-20260305-2130
Open

test: add coverage for Build-PSBuildMarkdown#113
nthbotast wants to merge 1 commit intopsake:mainfrom
nthbotast:test/build-markdown-99-20260305-2130

Conversation

@nthbotast
Copy link
Copy Markdown

@nthbotast nthbotast commented Mar 5, 2026

Summary

  • add focused Pester coverage for Build-PSBuildMarkdown
  • verify early return path when the module exports no commands
  • verify overwrite behavior toggles Force / ErrorAction and updates existing markdown directories

Validation

  • git diff --check

Closes #99

Mock New-MarkdownHelp {}
Mock Remove-Module {}

Build-PSBuildMarkdown \
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is invalid in PowerShell. Please run the tests in a PowerShell instance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests: Build-PSBuildMarkdown

2 participants