Renderingen-US

skip

Translation status: English reader-locale proof. Term names and code fences follow the en pack; supporting prose may still be English.

Marks a test case as skipped with a reason.

Aliases: skip

Syntax: test <name> skip <reason> <block>

Category#

testing

Examples#

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

Marks a test case as skipped with a reason.

# =============================================================================
# skip — Marks a test case as skipped with a reason.
# =============================================================================
#
# What this teaches:
#   • Test skipping — `skip` marks a test case to be skipped, with a required reason string.
#   • Test modifiers — Tests can be modified with `skip` to temporarily disable them.
#
# Common mistakes:
#   • Confusing skip (test skip) with pass (no-op) — skip marks a test as skipped, pass is an empty statement.
#
# See also: test, todo
# =============================================================================

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

test "database connection" skip "blocked" {
    assert false
}