Skip to content

Allow SpecFlow to continue even if Harmony patch fails#437

Merged
delatrie merged 1 commit into
mainfrom
specflow-error-tolerance
Nov 28, 2023
Merged

Allow SpecFlow to continue even if Harmony patch fails#437
delatrie merged 1 commit into
mainfrom
specflow-error-tolerance

Conversation

@delatrie

Copy link
Copy Markdown
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