Registers a before-each test hook.
Syntax: praepara <block>
Category
testing
Related
Examples
examples/corpus/praepara/praepara.fab (canonical · keyword)
Registers a before-each test hook.
# praepara — before-each test hook
#
# GRAMMAR:
# hookDecl :← 'praepara' block
#
# EXPECTED OUTPUT:
# No incipit — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only test hook (whitelist: praepara/praepara.fab).
#
probandum "hooks" {
praepara {
nota "before each"
}
proba "sample" {
adfirma verum
}
}Expected output: