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
Hello there, I recently started a new project with Reqnroll & Autofac and I wanted to include ReportPortal to it. The problem is as soon as I added the nuget to the project, it stops working. I get the following exception
Autofac.Core.Registration.ComponentNotRegisteredException : The requested service 'Reqnroll.FeatureContext' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.
Steps to Reproduce:
Create a new project using Reqnroll template
Add Reqnroll.Autofac 2.2.1
Add ReportPortal.Reqnroll 1.2.0
Add a GlobalHooks.cs file for your dependency injection with 2 sections: [GlobalDependencies] and [ScenarioDependencies]
Debug "Add two numbers" test case, it fail with the above exception, it won't reach the test.
Thanks,
The text was updated successfully, but these errors were encountered:
Hello there, I recently started a new project with Reqnroll & Autofac and I wanted to include ReportPortal to it. The problem is as soon as I added the nuget to the project, it stops working. I get the following exception
Autofac.Core.Registration.ComponentNotRegisteredException : The requested service 'Reqnroll.FeatureContext' has not been registered. To avoid this exception, either register a component to provide the service, check for service registration using IsRegistered(), or use the ResolveOptional() method to resolve an optional dependency.
Steps to Reproduce:
Thanks,
The text was updated successfully, but these errors were encountered: