#1 .NET BDD Framework. SpecFlow automates your testing & works with your existing code. Find Bugs before they happen. Behavior Driven Development helps developers, testers, and business representatives to get a better understanding of their collaboration
SpecFlow Section in app.config or content of specflow.json
No response
Issue Description
I have several features on my tests and have before and after hooks for scenarios and features.
The hooks work as intended until the last feature finishes running and won't execute the AfterFeature hook.
this is an issue since I'm doing cleanup in the AfterFeature.
SpecFlow Version
3.9.22
Which test runner are you using?
MSTest
Test Runner Version Number
2.2.5
.NET Implementation
equal or greater .NET Framework 4.6.1
Project Format of the SpecFlow project
Sdk-style project format
.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
I have several features on my tests and have before and after hooks for scenarios and features. The hooks work as intended until the last feature finishes running and won't execute the AfterFeature hook.
this is an issue since I'm doing cleanup in the AfterFeature.
Steps to Reproduce
Link to Repro Project
No response