Class TestServiceProviderExtensions
- Namespace
- Bunit.Extensions
- Assembly
- Bunit.Web.dll
Helper methods for correctly registering test dependencies.
public static class TestServiceProviderExtensions- Inheritance
- 
      
      TestServiceProviderExtensions
- Inherited Members
Methods
AddDefaultTestContextServices(IServiceCollection, TestContextBase, BunitJSInterop)
Registers the default services required by the web TestContext.
public static IServiceCollection AddDefaultTestContextServices(this IServiceCollection services, TestContextBase testContext, BunitJSInterop jsInterop)Parameters
- servicesIServiceCollection
- testContextTestContextBase
- jsInteropBunitJSInterop