Skip to content

Get-PesterResult is broken in Beta #180

@Jaykul

Description

@Jaykul

You're accepting $Test as a [ScriptBlock] and then trying to use $test.File in the phoney stacktrace.

Should probably just use $Exception.ScriptStackTrace or call Get-PSCallStack or something.

The result is that any time there's an exception, the error printed says "at line: $line in " with no file name.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions