Class EasyTestHost
- Namespace
- XBullet.EasyTesting.Hosting
- Assembly
- XBullet.EasyTesting.dll
Creates composable ASP.NET Core integration-test hosts.
public static class EasyTestHost
- Inheritance
-
EasyTestHost
- Inherited Members
Remarks
Start with your first controller test, then see test hosts for host-model selection.
Methods
Create<TEntryPoint>()
Starts a composable test-host definition for an application entry point.
public static EasyTestHostBuilder<TEntryPoint> Create<TEntryPoint>() where TEntryPoint : class
Returns
- EasyTestHostBuilder<TEntryPoint>
A new mutable builder that has not yet created an application factory.
Type Parameters
TEntryPointThe application entry-point type used to locate and bootstrap the ASP.NET Core application.