Skip to content
Playground(another site)

bynk.suite.unknown_target

Error A suite targets a unit that does not exist.

A suite names the commons or context it tests, by its full dotted name, and that unit must be declared in the project. A name that matches none, usually a typo or a unit not written yet, would leave the suite testing nothing. Correct the name, or declare the unit.

Example

demo/ledger.bynk
commons demo.ledger
// tests/ledger.test.bynk
suite demo.ledgre { … } // ✗ no such unit
suite demo.ledger { … } // ✓

In the Book

See also

  • The grammar rule it governs: suite_decl.
  • Every code in its category, Suites and cases, on the diagnostic index.
  • bynk explain bynk.suite.unknown_target shows the same from the installed toolchain, without a network.