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
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
I would advised all to not use Specflow+ Runner or LivingDoc as its currently not being supported or developed - migrate to MsTest or Nunit and also update to latest .net 8+ and use third party reporting libraries such as extent report.
SpecFlow Version
3.9.74
Which test runner are you using?
NUnit
Test Runner Version Number
TestCentric.GuiRunner 2.0.0-beta4
.NET Implementation
equal or greater .NET Framework 4.6.1
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
TFS/VSTS/Azure DevOps – Task – PLEASE SPECIFY THE NAME OF THE TASK
SpecFlow Section in app.config or content of specflow.json
{
"specFlow": {
"unitTestProvider": {
"name": "nunit"
}
}
}
Issue 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
Steps to Reproduce
Execute Test using TestCentric GUI tool
Link to Repro Project
No response
The text was updated successfully, but these errors were encountered: