渲染zh-Hant

預期

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 pending future work with a reason.

Aliases: todo, pending

Syntax: 測試 <name> 預期 <reason> <block>

Category#

testing

Examples#

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

Marks a test case as pending future work with a reason.

# =============================================================================
# 預期 — Marks a test case as pending future work with a reason
# =============================================================================
#
# What this teaches:
#   • Marks a test case as pending future work with a reason.
#   • Related keywords: 測試, 略過
#
# Common mistakes:
#   • Using `預期` on tests that are actually implemented — `預期` marks pending work; active tests should omit this modifier.
#
# See also: 測試, 略過
# =============================================================================

# 預期 — todo test modifier
#
# GRAMMAR:
#   testModifier :← '預期' stringLit
#
# EXPECTED OUTPUT:
#   No 入口 — declaration or test-runner surface only.
#
# BACKEND:
#   declaration-only test modifier (whitelist: 預期/futurum.fab).
#

test "async file operations" todo "needs async support" {
    assert true
}