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
Added feature to add TestServiceProvider support to projects. This provides the target project's dependency injection (DI) functionality in unit tests. If your target project has an IServiceCollection extension method (which is a common practice), you'd use the ConfigureServices property of the TestServiceProviderConfiguration class which is passed to the constructor of TestServiceProvider to add the target project's DI functionality in unit tests. See the TestServiceProviderExample.cs file after adding this support. This can be enabled to always be add to test projects when generating unit tests. Disabled by default. Though a stand-alone command exists to add this support to a project.
Stand-alone Command: "Add TestServiceProvider Support To Project..." (kokoabim.ddt.add-testserviceprovider-support)
Settings: ddt.addTestServiceProviderSupport and ddt.packagesForTestServiceProviderSupport