Auf Englisch lesen

Teilen über


ITestApplicationBuilder Interface

Definition

Represents an interface for building test applications.

C#
public interface ITestApplicationBuilder

Properties

CommandLine

Gets the command line manager.

Configuration

Gets the configuration manager.

Logging

Gets the logging manager.

TestHost

Gets the test host manager.

TestHostControllers

Gets the test host controllers manager.

Methods

BuildAsync()

Builds the test application asynchronously.

RegisterTestFramework(Func<IServiceProvider,ITestFrameworkCapabilities>, Func<ITestFrameworkCapabilities,IServiceProvider,ITestFramework>)

Registers a test framework with the application builder.

Extension Methods

AddMaximumFailedTestsService(ITestApplicationBuilder, IExtension)

Registers the command-line options provider for '--maximum-failed-tests'.

AddTreeNodeFilterService(ITestApplicationBuilder, IExtension)

Registers the command-line options provider for '--treenode-filter'.

Applies to

Produkt Versionen
Microsoft Testing Platform 1.0.2, 1.1.0, 1.2.1, 1.3.2, 1.4.3, 1.5.3, 1.6.0