Skip to content

should configuration.Run.PassThru be set to true? #51

Closed

Description

@pearcec

$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

Activity

  1. webtroter commented on Aug 11, 2021

    @webtroter
    Contributor

    I just ran into that too.

    My tests fails but the Publish Task still run.

  2. webtroter commented on Aug 11, 2021

    @webtroter
    Contributor
  3. self-assigned this
    on Aug 12, 2021
  4. devblackops commented on Aug 12, 2021

    @devblackops
    Member

    Thanks for catching that!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions