So I have a VS solution with a NUnit test project that has a mix of SpecFlow and non-Specflow tests.
The problem I have is that when I run a non-SpecFlow test the set-up code in the Hooks.cs file as well as the "normal" test base class is executed. This results in set up being run twice.
A simple solution will be to separate the project into a SpecFlow and a "normal unit test" project. I am trying to keep things simple and so do not want another test project.
Is is possible to have SpecFlow (NUnit) and normal NUnit tests in the same project and not execute the Hooks.cs code [Binding] when running the NUnit tests?
Please sign in to leave a comment.