~/bend-docscommunity

src/ez/test.bend fails

raw source on the hub · import ezx@1.9.0.0/src/ez/test.bend as Test

ez/test: the test runner. Bend has none, so a test is a */tests/*.bend file that prints, and states in a #| trailer the lines its run must print. Each test is its own bend run, since what these drive is git, nix and bend itself, and each wants its own process, scratch directory and port. A run disagreeing with its trailer is a failure, and any failure is a non-zero exit.

Tests are not the proof gate. ez prove is, and nothing here runs a proof.

12 imports
import Base
import 0xead4c7939c9eaca8d47da53b4496b731/main.bend as R
import ../io/file.bend as F
import ../share/env.bend as Env
import ../share/cap.bend as Cap
import ./gate.bend as G
import ./quiet.bend as Q
import ./clock.bend as Clock
import ./timer.bend as Timer
import ./prove.bend as P
import ../ez/ends.bend as E
import ../lock/run.bend as Run