platyPS icon indicating copy to clipboard operation
platyPS copied to clipboard

Build script fails on errors from Pester and Update-Help

Open sdwheeler opened this issue 4 years ago • 1 comments

The build script is outdated which presents the following problems:

  • The script install the latest version of Pester (5.x) but the Pester tests are written for v4.x syntax.
  • The script runs Update-Help for all installed help. However, there are known issues with help for certain modules. Update-Help throws errors for those modules which causes the build script to exit.

To fix this:

  • Change the script to install Pester 4.10.1
  • Change the Update-Help command to only update help for the modules needed by the Pester tests.

Also, the Pester tests need to be rewritten. See #498 for more detail.

sdwheeler avatar Jan 13 '21 15:01 sdwheeler

This issue is fixed in PR #497.

sdwheeler avatar Jan 13 '21 15:01 sdwheeler

No longer applies with Microsoft.PowerShell.PlatyPS v1.0

theJasonHelmick avatar May 24 '24 16:05 theJasonHelmick