bynk.tier.system_needs_wire
Error An as system suite whose target has no serialisation edge: it consumes no other context and exposes no http, queue or email service, so there is no wire for a system case to cross.
A system case exists to cross a real serialise, JSON, deserialise boundary. A target has one if it consumes another context, or exposes an http, queue or email service. One with neither has nothing to cross, so a system suite adds nothing over unit. Run the suite at unit or integration, or give the target a service that has a boundary.
Example
suite commerce.payment as system { // ✗ no other context, and no `http`, `queue` or `email` service case "authorises" { … }}
suite commerce.payment as integration { // ✓ real collaborators, no wire case "authorises" { … }}In the Book
See also
- Every code in its category, Test tiers, on the diagnostic index.
bynk explain bynk.tier.system_needs_wireshows the same from the installed toolchain, without a network.