ละเว้น
Translation status: ภาษาไทย reader-locale proof. Term names and code fences follow the th-TH 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
}