Class TigerCliAppRunResult
Result of a TigerCliAppTestHost run: the process exit code the app would have
returned, plus the text captured from Out and Error
during the run. Captured text is colour-free (the host pins a no-colour mode for the run).
public sealed record TigerCliAppRunResult : IEquatable<TigerCliAppRunResult>
- Inheritance
-
TigerCliAppRunResult
- Implements
- Inherited Members
Constructors
TigerCliAppRunResult(int, string, string)
Result of a TigerCliAppTestHost run: the process exit code the app would have
returned, plus the text captured from Out and Error
during the run. Captured text is colour-free (the host pins a no-colour mode for the run).
public TigerCliAppRunResult(int ExitCode, string StdOut, string StdErr)
Parameters
ExitCodeint- The app exit code of the run.
StdOutstring- The text captured from Out.
StdErrstring- The text captured from Error.
Properties
ExitCode
The app exit code of the run.
public int ExitCode { get; init; }
Property Value
StdErr
The text captured from Error.
public string StdErr { get; init; }
Property Value
StdErrHtml
Standard error captured as deterministic HTML, or
null when HTML capture is off.
See StdOutHtml for the capture semantics.public string? StdErrHtml { get; init; }
Property Value
StdOut
The text captured from Out.
public string StdOut { get; init; }
Property Value
StdOutHtml
Standard output captured as deterministic HTML (via
HtmlSink), or null when the
run was not started with TigerCliAppTestHost.WithHtmlCapture. When capture is enabled,
TigerCli-rendered output goes to the HTML capture instead of StdOut.
Line endings are normalized to \n.public string? StdOutHtml { get; init; }