string? Code { get; }
Source
Gets the existing stable diagnostic code when the rendered diagnostic starts with one.
Caller-owned streams used for coverage progress and diagnostics.
The coverage core never disposes, flushes, or retains these writers after an operation returns. Normal progress is written to Output and watchdog or critical diagnostics are written to Error.
CoverageTextWriters Create(TextWriter output, TextWriter error)
Source
Validates the supplied writer pair before it enters the core.
Represents a stable execution failure raised by the private coverage core.
Command adapters map this exception to their host-specific error contract. The rendered message deliberately preserves the existing ASCOV diagnostic text, while ExitCode preserves terminal watchdog exit 124.
string? Code { get; }
Source
Gets the existing stable diagnostic code when the rendered diagnostic starts with one.
int? ExitCode { get; }
Source
Gets the optional host process exit code.
Runs coverage collection and gate evaluation in their required order for first-party Evidence.
Task<CoverageEvidenceExecutionResult> RunAndGateAsync(CoverageRunRequest runRequest, CoverageGateRequest gateRequest, CoverageTextWriters writers, CancellationToken cancellationToken)
Source
Runs collection, then evaluates and writes the supplied gate only after a successful collection.
Captures the two ordered operation results produced for an Evidence coverage declaration.
CoverageRunResult Run { get; }
Source
Gets the nonnull coverage collection result.
CoverageGateResult? Gate { get; }
Source
Gets the optional coverage-gate result produced after successful collection.
This value is null when Run reports failure because the workflow deliberately skips gate evaluation and report writing. Callers must check CoverageRunResult.Success and handle a null value before accessing gate details.