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 #751

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

Context option to test a specific file #751

BernieWhite opened this issue Jun 21, 2022 · 0 comments
Labels
enhancement A request to change or add to current behaviour

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 A request to change or add to current behaviour label Jun 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement A request to change or add to current behaviour
Projects
None yet
Development

No branches or pull requests

1 participant