Bo Sørensen
Bo Sørensen
Could you also mention the breaking change to `Should -Throw`, it was introduced in #1003 and means that the substring match has been replaced with the -like operator: link to...
Was there a resolution to the pattern where you move setup code to a BeforeAll block and end up with warnings from PsScriptAnalyzer ? See https://github.com/PowerShell/PSScriptAnalyzer/issues/711#issuecomment-476532100
Good tip, but has the drawback of polluting the $Global namespace with these variables.
If you run `Invoke-Pester` from the PowerShell console you will have a lot of new variables in the $Global namespace, so it has consequences.
Fair enough, the issue is also with PSScriptAnalyzer where the real bugfix should be applied.
Although being told to ignore certain PSScriptAnalyzer warnings is a slippery slope to ignoring warnings in general. But any minor improvement would be very welcome.
My own testing shows that InModuleScope is a requirement in some cases, let me see if i can explain. A function in a module X is being tested, the interesting...
Great example which i can confirm fails both in v4 and v5. I examined my case in more detail and this is how it will fail in v5 but work...
I would like for the default yml file of a pipeline to use the generated Nuke yml file as a template. That requires another name, such as 'azure-pipelines.nuke.yml'. This inspiration...
After reading the documentation some more there is another workaround. Start by defining the dotnet executable like this: ``` [PathExecutable("dotnet")] readonly Tool DotnetExecutable; ``` In a target do the following:...