Skip to content

Add a provider for showing run and debug CodeLenses on Pester tests #498

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

Merged
merged 3 commits into from
Jun 8, 2017

Conversation

daviwil
Copy link
Contributor

@daviwil daviwil commented Jun 8, 2017

No description provided.

daviwil added 3 commits June 8, 2017 10:47
This change adds an ICodeLensProvider implementation which adds
CodeLenses on Pester "Describe" blocks so that the tests in these blocks
can be ran or debugged easily from within an editor.
This change improves how we report Pester document symbols, narrowing
the "symbol name" to just be the 'Describe "My Tests"' line rather than
the entire content of the test.  This makes the contents more easily
searchable and displayed correctly in VS Code.
@daviwil daviwil added this to the 1.3.0 milestone Jun 8, 2017
@daviwil daviwil changed the title Add a provider for showing run and debug CodeLnses on Pester tests Add a provider for showing run and debug CodeLenses on Pester tests Jun 8, 2017
@daviwil
Copy link
Contributor Author

daviwil commented Jun 8, 2017

Matching PR to vscode-powershell coming next.

@daviwil daviwil merged commit 4e0ad0a into PowerShell:master Jun 8, 2017
@daviwil daviwil deleted the pester-code-lens branch June 8, 2017 18:03
@rkeithhill
Copy link
Contributor

Awesome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants