-
Notifications
You must be signed in to change notification settings - Fork 754
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
Async feature background not awaited in beta version (NET 6) #2608
Labels
Comments
laingsimon
added a commit
to laingsimon/SpecFlow
that referenced
this issue
Oct 15, 2022
gasparnagy
pushed a commit
that referenced
this issue
Oct 24, 2022
Fixed by PR #2654, thx @laingsimon 💯! |
clrudolphi
pushed a commit
to clrudolphi/SpecFlow
that referenced
this issue
Oct 24, 2022
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
SpecFlow Version
3.10.2-beta
Which test runner are you using?
xUnit
Test Runner Version Number
2.4.3
.NET Implementation
.NET 5.0
Project Format of the SpecFlow project
Classic project format using
<PackageReference>
tags.feature.cs files are generated using
SpecFlow.Tools.MsBuild.Generation NuGet package
Test Execution Method
Visual Studio Test Explorer
SpecFlow Section in app.config or content of specflow.json
No response
Issue Description
Feature background given steps are not awaited - scenarios work correctly with the same step explicitly specified as a
Given
.I see the generated .feature.cs file is creating lines for feature backgrounds which are missing an await:
this.FeatureBackgroundAsync();
The given steps look like this:
await testRunner.GivenAsync("<snip>", ((string)(null)), ((TechTalk.SpecFlow.Table)(null)), "Given ");
Steps to Reproduce
Given
stepGiven
step to the feature background sectionGiven
stepLink to Repro Project
No response
The text was updated successfully, but these errors were encountered: