I followed this link https://github.com/dennisroche/xunit.ioc.autofac to create XUnit Test with autofac, but I got error
The requested service 'Xunit.Sdk.TestOutputHelper' 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. I have added below code:
builder.Register(context => new TestOutputHelper())
.As<ITestOutputHelper>()
.InstancePerLifetimeScope();
Did I miss anything from above link?