Table of Contents

Class DotNetVSTestConfig

Namespace
DotNetDo
Assembly
DotNetDo.Core.dll

Options for dotnet test in a repository that runs tests with VSTest.

public sealed record DotNetVSTestConfig : IEquatable<DotNetVSTestConfig>

Properties

Blame

Collects a sequence file identifying tests running near a crash or hang.

public bool Blame { get; init; }

Property Value

bool

BlameCrash

Collects a process dump when the test host crashes.

public bool BlameCrash { get; init; }

Property Value

bool

BlameCrashCollectAlways

Collects a crash dump even when the test host exits normally; requires crash blame.

public bool BlameCrashCollectAlways { get; init; }

Property Value

bool

BlameCrashDumpType

Selects mini or full crash dumps; requires crash blame.

public string? BlameCrashDumpType { get; init; }

Property Value

string?

BlameHang

Terminates and dumps a test host when a test exceeds the configured hang timeout.

public bool BlameHang { get; init; }

Property Value

bool

BlameHangDumpType

Selects mini, full, or none for hang dumps; requires hang blame.

public string? BlameHangDumpType { get; init; }

Property Value

string?

BlameHangTimeout

Sets the per-test hang timeout using a value such as 90s, 2m, or 1h.

public string? BlameHangTimeout { get; init; }

Property Value

string?

Collect

Enables the named data collector; collector settings may follow after a semicolon.

public string? Collect { get; init; }

Property Value

string?

Diag

Writes diagnostic test-platform logs to this file.

public string? Diag { get; init; }

Property Value

string?

DisableBuildServers

Prevents reuse of persistent build servers during this invocation.

public bool DisableBuildServers { get; init; }

Property Value

bool

Filter

Runs only tests matching the VSTest filter expression.

public string? Filter { get; init; }

Property Value

string?

Interactive

Allows authentication and other operations to prompt for input.

public bool Interactive { get; init; }

Property Value

bool

Loggers

Enables test loggers, such as trx; each value may include semicolon-delimited logger settings.

public IReadOnlyList<string> Loggers { get; init; }

Property Value

IReadOnlyList<string>

Output

Places command outputs in the specified directory.

public string? Output { get; init; }

Property Value

string?

Settings

Uses this run-settings file to configure the test run.

public string? Settings { get; init; }

Property Value

string?

TestAdapterPath

Searches this directory for additional test adapters.

public string? TestAdapterPath { get; init; }

Property Value

string?