زمني
Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.
Sets a wall-clock timeout in seconds for a test modifier.
Syntax: زمني <number>
Category#
testing
Related#
Examples#
radix/corpus/temporis/temporis.fab (canonical · keyword)#
Sets a wall-clock timeout in seconds for a test modifier.
# =============================================================================
# زمني — Sets a wall-clock timeout in seconds for a test modifier.
# =============================================================================
#
# What this teaches:
# • Test timeout — `زمني` sets a wall-clock timeout (seconds) on `اختبر`
# execution; a case still running past the deadline fails
# • Test modifiers — combining timing with other test annotations
#
# Common mistakes:
# • confusing زمني (test timeout modifier) with tempus (time type)
#
# See also: قس, معاد
# =============================================================================
# زمني — timed test modifier
#
# GRAMMAR:
# testModifier :← 'زمني' integer
#
# EXPECTED OUTPUT:
# No بداية — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only test modifier (whitelist: زمني/temporis.fab).
#
test "timed case" timeout 5 {
assert true
}