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
BlameCrash
Collects a process dump when the test host crashes.
public bool BlameCrash { get; init; }Property Value
BlameCrashCollectAlways
Collects a crash dump even when the test host exits normally; requires crash blame.
public bool BlameCrashCollectAlways { get; init; }Property Value
BlameCrashDumpType
Selects mini or full crash dumps; requires crash blame.
public string? BlameCrashDumpType { get; init; }Property Value
BlameHang
Terminates and dumps a test host when a test exceeds the configured hang timeout.
public bool BlameHang { get; init; }Property Value
BlameHangDumpType
Selects mini, full, or none for hang dumps; requires hang blame.
public string? BlameHangDumpType { get; init; }Property Value
BlameHangTimeout
Sets the per-test hang timeout using a value such as 90s, 2m, or 1h.
public string? BlameHangTimeout { get; init; }Property Value
Collect
Enables the named data collector; collector settings may follow after a semicolon.
public string? Collect { get; init; }Property Value
Diag
Writes diagnostic test-platform logs to this file.
public string? Diag { get; init; }Property Value
DisableBuildServers
Prevents reuse of persistent build servers during this invocation.
public bool DisableBuildServers { get; init; }Property Value
Filter
Runs only tests matching the VSTest filter expression.
public string? Filter { get; init; }Property Value
Interactive
Allows authentication and other operations to prompt for input.
public bool Interactive { get; init; }Property Value
Loggers
Enables test loggers, such as trx; each value may include semicolon-delimited logger settings.
public IReadOnlyList<string> Loggers { get; init; }Property Value
Output
Places command outputs in the specified directory.
public string? Output { get; init; }Property Value
Settings
Uses this run-settings file to configure the test run.
public string? Settings { get; init; }Property Value
TestAdapterPath
Searches this directory for additional test adapters.
public string? TestAdapterPath { get; init; }