thời_gian
Translation status: Tiếng Việt reader-locale proof. Term names and code fences follow the vi pack; supporting prose may still be English.
Sets a wall-clock timeout in seconds for a test modifier.
Syntax: thời_gian <number>
Category#
testing
Related#
Examples#
radix/corpus/temporis/temporis.fab (canonical · keyword)#
Sets a wall-clock timeout in seconds for a test modifier.
# =============================================================================
# thời_gian — Sets a wall-clock timeout in seconds for a test modifier.
# =============================================================================
#
# What this teaches:
# • Test timeout — `thời_gian` sets a wall-clock timeout (seconds) on `kiểm_thử`
# execution; a case still running past the deadline fails
# • Test modifiers — combining timing with other test annotations
#
# Common mistakes:
# • confusing thời_gian (test timeout modifier) with tempus (time type)
#
# See also: đo_lường, lặp_lại
# =============================================================================
# thời_gian — timed test modifier
#
# GRAMMAR:
# testModifier :← 'thời_gian' integer
#
# EXPECTED OUTPUT:
# No bắt_đầu — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only test modifier (whitelist: thời_gian/temporis.fab).
#
test "timed case" timeout 5 {
assert true
}