diff --git a/README.md b/README.md index 6c512e8..e480e36 100755 --- a/README.md +++ b/README.md @@ -110,5 +110,14 @@ does not work as expected on the `Import-Module` cmdlet (within the `BeforeAll` script blocks). Therefore it is advised to wrap the `Invoke-Pester` as follows so that the global scope gets teared down after execution. + ``$ pwsh -c "Invoke-Pester PSConfluencePublisher/*.Tests.ps1 -Show 'All'"`` +There currently is an issue with the invocation of the test suites (see +[Pester Issue #2386](https://github.com/pester/Pester/issues/2386)), where +some tests fail, if ran via the wildcard discovery. + +Execute the following from within a PowerShell session to temporarily circumvent +this problem: + +``PS > Get-ChildItem Contoso/*.Tests.ps1 | ForEach {pwsh -c Invoke-Pester (Resolve-Path -Relative $_)}``