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

Allow SpecFlow to continue even if Harmony patch fails #437

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

delatrie
Copy link
Contributor

Closes #436

Context

This PR allows a SpecFlow test run to continue if Harmony patching fails (e.g., for net8.0, see #434).

Ideally, a warning should've been logged, but no such API exists in SpecFlow. The best I came up with was to log the last exception in a file in the output directory.

Motivation

The main motivation is to enable users who don't need selective run feature to use Allure SpecFlow with net8.0 until the MonoMod fix for net8.0 is released.

@delatrie delatrie requested a review from neparij November 27, 2023 18:29
@delatrie delatrie marked this pull request as ready for review November 27, 2023 18:31
@delatrie delatrie merged commit 1b48e19 into main Nov 28, 2023
@delatrie delatrie deleted the specflow-error-tolerance branch November 28, 2023 10:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SpecFlow: Don't fail entire run if Harmony patch failed
2 participants