-
Notifications
You must be signed in to change notification settings - Fork 754
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix_async_binding_calls_2600
* master: Report binding problems to binding registry and show them as errors during test execution (#2663) Fix for SF2649: Aggregate exceptions lost from async step definitions (#2667) # Conflicts: # TechTalk.SpecFlow/Bindings/BindingInvoker.cs # Tests/TechTalk.SpecFlow.RuntimeTests/Bindings/BindingInvokerTests.cs
- Loading branch information
Showing
22 changed files
with
489 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace TechTalk.SpecFlow.Bindings; | ||
|
||
public class BindingError | ||
{ | ||
public BindingErrorType Type { get; } | ||
public string Message { get; } | ||
|
||
public BindingError(BindingErrorType type, string message) | ||
{ | ||
Type = type; | ||
Message = message; | ||
} | ||
} | ||
|
||
public enum BindingErrorType | ||
{ | ||
TypeLoadError, | ||
BindingError, | ||
StepDefinitionError, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.