Create External Help File Test
This commit is contained in:
@@ -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 #>"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user