requirit
Translation status: हिन्दी reader-locale proof. Code fences render through the hi pipeline; prose is canonical Latin.
Requires a named test fixture or capability.
Syntax: requirit <string>
Category#
testing
Related#
Examples#
radix/corpus/meta/requirit.fab (canonical · keyword)#
Requires a named test fixture or capability.
# =============================================================================
# requirit — Requires a named test fixture or capability.
# =============================================================================
#
# What this teaches:
# • the `requirit` modifier on tests — declares a required capability (e.g., `"net"` for network tests)
# • test-level capability gating — tests are skipped if the capability is unavailable
#
# Common mistakes:
# • Forgetting to provide the required capability string — requirit needs a named capability like "net" or "filesystem".
#
# See also: solum_in, fragilis, probandum
# =============================================================================
# meta/requirit — test capability requirement modifier
#
# GRAMMAR:
# testModifier :← 'requirit' stringLit
#
# EXPECTED OUTPUT:
# No incipit — test-runner surface only.
#
# BACKEND:
# declaration-only test modifier (whitelist: meta/requirit.fab).
describe "requirit-smoke" {
test "needs network" requires "net" {
assert true
}
}