-
-
Notifications
You must be signed in to change notification settings - Fork 475
BeforeAll errors in ScriptBlocks lack error message (container name) #2636
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
Comments
Actual output today:
Expected output snippet:
|
i.e., it should work in the same way as it does for a container that's a file, except it uses :path:line for the name Output of the equivalent case using a file rather than a ScriptBlock:
|
davidmatson
added a commit
to davidmatson/Pester
that referenced
this issue
Apr 8, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Checklist
What is the issue?
When a ScriptBlock fails in BeforeAll, there is no container name text on the line that has the failure (after "[-]").
Expected Behavior
The [-] line contains the container name (just like it is displayed currently in the BeforeAll failures summary at the end).
Steps To Reproduce
Describe your environment
No response
Possible Solution?
No response
The text was updated successfully, but these errors were encountered: