Renderingla

postparabit

Registers an async after-each test hook.

Syntax: postparabit <block>

Category

testing

Related

Examples

examples/corpus/postparabit/postparabit.fab (canonical · keyword)

Registers an async after-each test hook.

# postparabit — async after-each hook
#
# GRAMMAR:
#   hookDecl :← 'postparabit' block
#
# EXPECTED OUTPUT:
#   No incipit — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only test hook (whitelist: postparabit/postparabit.fab).
#

probandum "async hooks" {
    postparabit {
        nota "after each async"
    }
    proba "sample" {
        adfirma verum
    }
}

Expected output: