Skip to content
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

Fix error in strict mode #886

Merged
merged 2 commits into from
Nov 12, 2017
Merged

Fix error in strict mode #886

merged 2 commits into from
Nov 12, 2017

Conversation

nohwnd
Copy link
Member

@nohwnd nohwnd commented Sep 16, 2017

Fix #529
This is more of a quick fix, it would me nice to still collect and print the info about the scriptblock that failed, but it is complicated by the PesterState, so some serious refactoring would be needed to fix this correctly.

The tests are also not perfect, we have no simple way of determining whether the test failed or whether Pester failed, because both result in code that throws exception and fails the It.

@it-praktyk it-praktyk added this to the v4.1 milestone Nov 11, 2017
@nohwnd nohwnd merged commit fe86d3a into pester:master Nov 12, 2017
@nohwnd nohwnd deleted the fix-error-in-strict-mode branch January 11, 2019 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Invoke-Pester -Strict fails with internal pester error
2 participants