Table of Contents

Interface ITestApplication

Namespace
FEFF.TestFixtures.AspNetCore
Assembly
FEFF.TestFixtures.AspNetCore.dll

Represents a test application running via WebApplicationFactory<TEntryPoint>.

public interface ITestApplication

Properties

Server

Gets the TestServer for the test application. Useful for SignalR testing.

TestServer Server { get; }

Property Value

TestServer

Services

Gets the service provider for the test application.

IServiceProvider Services { get; }

Property Value

IServiceProvider

Methods

CreateClient()

Creates an HttpClient configured to communicate with the test application.

HttpClient CreateClient()

Returns

HttpClient