Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Context option to test a specific file #2641

Open
BernieWhite opened this issue Jun 21, 2022 · 0 comments
Open

Context option to test a specific file #2641

BernieWhite opened this issue Jun 21, 2022 · 0 comments
Labels
feature: vscode Issues that relate to integration with Visual Studio Code (vscode).

Comments

@BernieWhite
Copy link
Member

Currently PSRule support in VSCode mostly focusses on testing the whole repository. While you could tweak the task options or ps-rule.yaml to test a single file there isn't any built-in way to do this.

We should provide a context option to test:

  • A single file.
  • A folder of files.
  • A path spec containing files.
@BernieWhite BernieWhite added the enhancement New feature or request label Jun 21, 2022
@BernieWhite BernieWhite transferred this issue from microsoft/PSRule-vscode Nov 28, 2024
@BernieWhite BernieWhite added feature: vscode Issues that relate to integration with Visual Studio Code (vscode). and removed enhancement New feature or request labels Nov 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature: vscode Issues that relate to integration with Visual Studio Code (vscode).
Projects
None yet
Development

No branches or pull requests

1 participant