-
Is there a way to ignore any ps1 file that happens to be a Pester test script? It is not uncommon to having to break a few rules when constructing tests, especially when mocking.
-
### Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all [issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure it has not already …
-
```ps1
# We use `MainLine Development`. See https://gitversion.net/docs/reference/modes/mainline
name: Publish to PowerShell Gallery
on:
push:
branches:
- main
jobs:
build…
-
This is increasingly becoming an issue as PowerShell gets new language features and cmdlets. And cmdlets get new parameters, etc. I could have a #requires -version 3.0 in my script but I'm developin…
-
Spec:
[System.Version] $Version
Stores the version of PSScriptAnalyzer that ran in the Invoke-ScriptAnalyzer test.
Scenario:
I need to know which version of PSScriptAnalyzer ran in my Invoke-Scr…
juneb updated
7 years ago
-
### Repro steps
```powershell
Install-Module -Name Cluster -RequiredVersion 0.0.0.1 -Repository PSGallery
# This depends on AzureRM, which in turn depends on 45 AzureRM.* modules.
# All get down…
-
When the value of the `-Settings` parameter is set to `$_` inside of a foreach-object loop, PSScriptAnalyzer is unable to find the settings file.
**Steps to reproduce:**
Create a file that violate…
-
**Summary of the new feature**
As a user, I want the `##` comment generation feature in the PowerShell extension for VSCode to also generate comment based help for param blocks at the top of script…
-
### Prerequisites
- [X] I have written a descriptive issue title.
- [X] I have searched all [_open and closed_ issues](https://github.com/PowerShell/vscode-powershell/issues?q=is%3Aissue) to ensure i…
-
Hi!
A few practical examples in the docs or the wiki might be a helpful way to illustrate how to use this. For example:
- A simple example showing how to test a PowerShell tool with Pester and Scrip…