Class FlowExpectationResult

Namespace
Kuestenlogik.Bowire.Flows.Expectations
Assembly
Kuestenlogik.Bowire.Flows.dll

Outcome of evaluating a single FlowExpectation against a FlowRequestEnvelope. Carries enough detail for the UI result viewer + T2's JUnit XML failure messages to be useful without a re-evaluation pass.

public sealed class FlowExpectationResult
Inheritance
FlowExpectationResult
Inherited Members

Constructors

FlowExpectationResult()

public FlowExpectationResult()

Properties

Actual

What the kind+target resolved to in the envelope, stringified.

public string? Actual { get; init; }

Property Value

string

Expected

Echo of the expectation's right-hand side, post variable substitution.

public string? Expected { get; init; }

Property Value

string

Id

Mirrors the source expectation's Id.

public string? Id { get; init; }

Property Value

string

Kind

Source kind, echoed for downstream filtering (latency-only rollups, …).

public FlowExpectationKind Kind { get; init; }

Property Value

FlowExpectationKind

Message

One-line summary suitable for JUnit XML / UI result rows ("status equals 200 — got 404").

public string Message { get; init; }

Property Value

string

Operator

Source operator, echoed for the same reason.

public FlowExpectationOperator Operator { get; init; }

Property Value

FlowExpectationOperator

Passed

True when the expectation held.

public bool Passed { get; init; }

Property Value

bool