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

Update output for Discovery and Filter #1969

Merged
merged 9 commits into from Jun 5, 2021
Merged

Conversation

fflaten
Copy link
Collaborator

@fflaten fflaten commented Jun 4, 2021

PR Summary

  • Removes file-specific discovery message from Detailed view. This is still available as Discovery debug-messages in Diagnostic
  • Output number of tests to be executed.
  • Removes redundant and noisy active tag filter debugmessages (covered in initial discovery-output in Detailed + Diagnostic), see before-image here Debugging generated tests takes for ever due to the output of filter commands #1746 (comment)
  • Fix runtime configuration leak when using advanced configuration with Invoke-Pester -Configuration ...

Example of output after PR:
image
image

Diagnostic:
image

image

Fix #1552
Fix #1746
Fix #1972

PR Checklist

  • PR has meaningful title
  • Summary describes changes
  • PR is ready to be merged
    • If not, use the arrow next to Create Pull Request to mark it as a draft. PR can be marked Ready for review when it's ready.
  • Tests are added/update (if required)
  • Documentation is updated/added (if required)

src/Main.ps1 Outdated Show resolved Hide resolved
src/functions/Output.ps1 Outdated Show resolved Hide resolved
@nohwnd nohwnd merged commit 5dc72a9 into pester:main Jun 5, 2021
@nohwnd
Copy link
Member

nohwnd commented Jun 5, 2021

Perfect, thanks!

@fflaten fflaten deleted the fix-output branch June 5, 2021 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants