diff --git a/Tests/Public/External-Help.Tests.ps1 b/Tests/Public/External-Help.Tests.ps1 new file mode 100644 index 0000000..363c91b --- /dev/null +++ b/Tests/Public/External-Help.Tests.ps1 @@ -0,0 +1,10 @@ +$filePath = (Split-Path -Parent $MyInvocation.MyCommand.Path) -replace 'Tests', 'ZertoApiWrapper' +$publicFiles = Get-ChildItem "$filePath" -File + +describe "External Help Present" { + foreach ($file in $publicFiles) { + it "External Help File Defined" { + Get-Content -Path $file.fullName -First 1 | should be "<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>" + } + } +}