Skip to content

VSCode Pester support for PSKoans filenames #4363

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

Closed
2 tasks done
Manbearpiet opened this issue Jan 9, 2023 · 2 comments · Fixed by PowerShell/PowerShellEditorServices#1988
Closed
2 tasks done

VSCode Pester support for PSKoans filenames #4363

Manbearpiet opened this issue Jan 9, 2023 · 2 comments · Fixed by PowerShell/PowerShellEditorServices#1988
Labels
Area-Pester Issue-Enhancement A feature request (enhancement).

Comments

@Manbearpiet
Copy link

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.

Summary

Dear VSCode PowerShell hero's,
I'd like VSCode to have the same Pester Support for PSKoans as it does for Pester files. As this makes it very easy for new PowerShell users to reflect on their progress within a Koan, by clicking "Run Tests". At this time, I manually rename the Koans to SomeKoan.Koans.Tests.ps1 to get the Pester VScode Support, but this breaks the PSKoans module. I hope there is a way to support Pester language features with filenames ending with"Koans.ps1"

image

Proposed Design

No response

@Manbearpiet Manbearpiet added the Issue-Enhancement A feature request (enhancement). label Jan 9, 2023
@ghost ghost added the Needs: Triage Maintainer attention needed! label Jan 9, 2023
@andyleejordan andyleejordan added Area-Pester and removed Needs: Triage Maintainer attention needed! labels Jan 31, 2023
@andyleejordan andyleejordan added this to the Consider-vNext milestone Jan 31, 2023
@andyleejordan
Copy link
Member

Thanks so much for the suggestion @Manbearpiet!

@fflaten
Copy link
Contributor

fflaten commented Feb 5, 2023

Support for Run/Debug tests specifically makes sense. Low cost and promotes learning -> adoption. 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Pester Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants