0

I am trying to build task in Azure pipeline. Observed error :

OneTimeSetUp: BoDi.ObjectContainerException : Interface cannot be resolved: TechTalk.SpecFlow.UnitTestProvider.IUnitTestRuntimeProvider('nunit')

Please let me know if anyone face/fix this issue.

0

Working solution :

  • Add SpecFlow.NUnit package to your project [.csproj file]
<PackageReference Include="SpecFlow.NUnit">
     <Version>3.1.97</Version>
</PackageReference>

Note - You need to add version similar to version of SpecFlow package you are using in your project

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.