略過
Translation status: 繁體中文 reader-locale proof. Term names and code fences follow the zh-Hant pack; supporting prose may still be English.
Marks a test case as skipped with a reason.
Aliases: skip
Syntax: 測試 <name> 略過 <reason> <block>
Category#
testing
Related#
Examples#
radix/corpus/omitte/omitte.fab (canonical · keyword)#
Marks a test case as skipped with a reason.
# =============================================================================
# 略過 — Marks a test case as skipped with a reason.
# =============================================================================
#
# What this teaches:
# • Test skipping — `略過` marks a test case to be skipped, with a required reason string.
# • Test modifiers — Tests can be modified with `略過` to temporarily disable them.
#
# Common mistakes:
# • Confusing 略過 (test skip) with 靜默 (no-op) — 略過 marks a test as skipped, 靜默 is an empty statement.
#
# See also: 測試, 預期
# =============================================================================
# 略過 — skipped test modifier
#
# GRAMMAR:
# testModifier :← '略過' stringLit
#
# EXPECTED OUTPUT:
# No 入口 — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only test modifier (whitelist: 略過/omitte.fab).
#
test "database connection" skip "blocked" {
assert false
}