渲染zh-Hans

易碎

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: 易碎 <number>

Category#

testing

None.

Examples#

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

Marks a test as fragile.

# =============================================================================
# 易碎 — Marks a test as fragile
# =============================================================================
#
# What this teaches:
#   • Marks a test as fragile.
#
# Common mistakes:
#   • Marking a test as fragile without a reason — `易碎 <number>` requires a numeric identifier for the failure-tracking system.
# =============================================================================

# 易碎 — allow-failure test modifier
#
# GRAMMAR:
#   testModifier :← '易碎' integer
#
# EXPECTED OUTPUT:
#   No 入口 — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only test modifier (whitelist: 易碎/fragilis.fab).
#

test "fragile case" flaky 1 {
    assert true
}