Add MarkDown Help File Content Test
This commit is contained in:
1 parent
b8cccd02dc
commit
f6e0ffa6db
1 file changed
+8
@@ -34,6 +34,14 @@ Describe "File Tests" {
|
||||
it "$command has the External Help File Defined" {
|
||||
Get-Content -Path $path -First 1 | should be "<# .ExternalHelp ./en-us/ZertoApiWrapper-help.xml #>"
|
||||
}
|
||||
it "$command external Help file is filled out" {
|
||||
$stubExist = Get-Content -Path $externalHelpFile | Where-Object {$_.Trim() -like '*{{*}}*'}
|
||||
if ($stubExist) {
|
||||
Write-Warning "Found a stub in the Markdown File $externalHelpFile"
|
||||
Write-Warning "$stubExist"
|
||||
}
|
||||
$stubExist | should benullorempty
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user