RunicServeOnlyTestPlatformAttribute class

Namespace Runic.Application.Testing in Runic.Application.Testing 0.23.0

public sealed class RunicServeOnlyTestPlatformAttribute : Attribute

Inherits or implements Attribute.

Marks an application's entry assembly as a test build that may use RunicTestPlatformServiceCollectionExtensions.AddRunicServeOnlyTestPlatform.

Remarks

Add it only in a test-only configuration, for example with <AssemblyAttribute Include="Runic.Application.Testing.RunicServeOnlyTestPlatformAttribute" Condition="'$(Configuration)' == 'E2E'" />. Without it, the serve-only test platform refuses to start even when its environment variables are set.

Constructors

RunicServeOnlyTestPlatformAttribute

public RunicServeOnlyTestPlatformAttribute()

No documentation.