渲染zh-Hans

tag

Translation status: 简体中文 reader-locale proof. Code fences render through the zh-Hans pipeline; prose is canonical Latin.

Attaches a test tag string.

Syntax: tag <string>

Category#

testing

Examples#

radix/corpus/tag/tag.fab (canonical · keyword)#

Attaches a test tag string.

# =============================================================================
# tag — Attaches a test tag string.
# =============================================================================
#
# What this teaches:
#   • Test tagging — using `tag` to attach metadata strings to `proba` blocks
#   • Test filtering — tags enable selective test execution by category
#
# Common mistakes:
#   • attaching duplicate tags or using tag on a non-probandum block
#
# See also: solum, temporis
# =============================================================================



# tag — test tag modifier
#
# GRAMMAR:
#   testModifier :← 'tag' stringLit
#
# EXPECTED OUTPUT:
#   No incipit — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only test modifier (whitelist: tag/tag.fab).
#

test "tagged case" tag "focus" {
    assert true
}