You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
__Category: Functionality Visibility: Users
__Resolution: Fix in TestCentric
Description
I am trying to run Nunit Specflow Tests using TestCentric GUI, I can load the test dll but when I run the test, I get the following error OneTimeSetup:Bodi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('nunit')
I am using .NET Framework 4.8 with the following nuget packages
SpecFlow 3.9.74
SpecFlow.NUnit 3.9.74
NUnit 4.1.0
NUnit3testAdapter 4.5.0
Please let me know if this is a configuration issue on the .NET project or if some package is missing.
I can run the tests successfully using Visual Studio Test Explorer.
The text was updated successfully, but these errors were encountered:
I am using version 2.0.0-beta4.
Do I need to add any attributes to the SpecFlow Definition files for NUnit to discover the tests?
I have added the SpecFlow.json file (attached) to the project file. SpecFlow.json
NUnit Compatibility Issue
__Category: Functionality
Visibility: Users
__Resolution: Fix in TestCentric
Description
I am trying to run Nunit Specflow Tests using TestCentric GUI, I can load the test dll but when I run the test, I get the following error
OneTimeSetup:Bodi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('nunit')
I am using .NET Framework 4.8 with the following nuget packages
Please let me know if this is a configuration issue on the .NET project or if some package is missing.
I can run the tests successfully using Visual Studio Test Explorer.
The text was updated successfully, but these errors were encountered: