易碎
Translation status: 简体中文 reader-locale proof. Term names and code fences follow the zh-Hans pack; supporting prose may still be English.
Marks a test as fragile.
Syntax: fragilis <number>
Category#
testing
Related#
None.
Examples#
radix/corpus/fragilis/fragilis.fab (canonical · keyword)#
Marks a test as fragile.
# =============================================================================
# fragilis — Marks a test as fragile
# =============================================================================
#
# What this teaches:
# • Marks a test as fragile.
#
# Common mistakes:
# • Marking a test as fragile without a reason — `fragilis <number>` requires a numeric identifier for the failure-tracking system.
# =============================================================================
# fragilis — allow-failure test modifier
#
# GRAMMAR:
# testModifier :← 'fragilis' integer
#
# EXPECTED OUTPUT:
# No incipit — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only test modifier (whitelist: fragilis/fragilis.fab).
#
test "fragile case" flaky 1 {
assert true
}