bynk.tier.mixed_system_suite
Error A suite mixes system cases with unit or integration ones; a system case runs against deployed Workers and addresses services by context path, so it needs a suite … as system of its own.
A system case runs against deployed Workers and addresses services by their context path, which no unit or integration case can. So a suite holds either system cases only or none: a case of another tier in a system suite, or a system case among others, is refused. Move it into a suite of its own.
Example
suite demo.desk as system { case "a local one" as unit { // ✗ not `system`, in a `system` suite let n <- local.call(1) }}
suite demo.desk { case "a local one" { // ✓ in a suite of its own let n <- local.call(1) }}In the Book
See also
- The grammar rule it governs:
case. - Every code in its category, Test tiers, on the diagnostic index.
bynk explain bynk.tier.mixed_system_suiteshows the same from the installed toolchain, without a network.