Skip to content
Beskid The Beskid Book

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

08. Green tests, red production

Beskid tests in source, the test CLI, and why CI still distrusts your optimism.

Green tests, red production

Green tests are a mood. Production is where the runtime remembers every optimistic return; you left in a harness.

This chapter is informative: how to write test items, run them with beskid test, and understand the difference between “my file passed” and “the platform still conforms.” Normative grammar and discovery rules live under Testing.

SectionTopic
Test items in sourcetest Name { }, meta, and skip.
The beskid test CLIDiscovery, filters, JSON output.
Arrange, act, assertStructure without a framework cult.
Conformance vs unitbeskid_tests vs your project’s tests.
CI and testingWhat the compiler repo actually runs.

Test items in source — or jump to The beskid test CLI if you already copied a harness from a colleague.

09. Contracts, effects, and other polite threats — structural contracts, Result, and why panic is not a design pattern.