chỉ_trong
Translation status: Tiếng Việt reader-locale proof. Term names and code fences follow the vi pack; supporting prose may still be English.
Restricts a test to a named environment or target.
Syntax: chỉ_trong <string> <string>
Category#
testing
Related#
None.
Examples#
radix/corpus/solum-in/solum-in.fab (canonical · keyword)#
Restricts a test to a named environment or target.
# =============================================================================
# chỉ_trong — Restricts a test to a named environment or target.
# =============================================================================
#
# What this teaches:
# • Environment scoping — `chỉ_trong "ci"` restricts a test to only run in
# the specified environment (e.g., CI, local)
# • Useful for tests that depend on external infrastructure or specific
# runtime conditions
#
# Common mistakes:
# • Confusing `chỉ_trong` (environment-scoping keyword) with `chỉ` (stdlib module / test modifier).
# =============================================================================
# chỉ_trong — environment-scoped test modifier
#
# GRAMMAR:
# testModifier :← 'chỉ_trong' stringLit
#
# EXPECTED OUTPUT:
# No bắt_đầu — declaration or test-runner surface only.
#
# BACKEND:
# declaration-only test modifier (whitelist: solum-in/solum-in.fab).
#
test "ci only" only_in "ci" {
assert true
}