results output to variable #2679
Closed
georgedavid29
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
|
Have you checked out The output object contains all values used in the summary. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
it would be great if pester returned the tail end output string
example: "$results = Invoke-Pester"
"Tests completed in 2.23s
Tests Passed: 4, Failed: 0, Skipped: 0, Inconclusive: 0, NotRun: 3"
as an actual output array that can be set to a variable. this would allow the framework to be used for adhoc test runs and reused for validation in various scripts if all the results passed.
Beta Was this translation helpful? Give feedback.
All reactions