should configuration.Run.PassThru be set to true? #51
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
| $configuration.Run.PassThru = $false |
If this is set to $false, then no results are return
| $testResult = Invoke-Pester -Configuration $configuration -Verbose:$VerbosePreference |
And it will always be successful. For example:
https://github.com/pearcec/Invoke-Terraform/runs/2313617121?check_suite_focus=true#step:3:202
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Activity
webtroter commentedon Aug 11, 2021
I just ran into that too.
My tests fails but the Publish Task still run.
webtroter commentedon Aug 11, 2021
10c9051#diff-02fdd73924b0554973b2bcc296d22242dce416c5b4655def926f0cc61dbfa7db
Found where it came from. I'll do a PR I guess.
devblackops commentedon Aug 12, 2021
Thanks for catching that!