Skip to content
Playground(another site)

bynk.parse.unknown_tier

Error A case/suite as <tier> clause names something other than unit, integration, or system.

A test case's tier says how much of the program it runs against, and there are three: unit, integration and system. Any other name after as is refused, usually a misspelling. Leave the clause out for unit, the default.

Example

case "doubles" as weird { // ✗ not a tier
expect double(2) == 4
}
case "doubles" as unit { // ✓
expect double(2) == 4
}

In the Book

See also

  • Every code in its category, Parser, on the diagnostic index.
  • bynk explain bynk.parse.unknown_tier shows the same from the installed toolchain, without a network.