Class ContractAssertion
- Namespace
- Kuestenlogik.Bowire.Contracts
- Assembly
- Kuestenlogik.Bowire.Contracts.dll
A single contract assertion (status match or structural body match).
public sealed class ContractAssertion
- Inheritance
-
ContractAssertion
- Inherited Members
Constructors
ContractAssertion()
public ContractAssertion()
Properties
ActualText
Actual value / body (may be truncated for display).
public string? ActualText { get; set; }
Property Value
Error
The shape diff or mismatch detail when it failed.
public string? Error { get; set; }
Property Value
Expected
Expected value / shape (may be truncated for display).
public string? Expected { get; set; }
Property Value
Op
The comparison: eq (status) or matches-shape (body).
public string Op { get; set; }
Property Value
Passed
Whether the assertion held.
public bool Passed { get; set; }
Property Value
Path
What was checked: status or body.
public string Path { get; set; }