flaky
Translation status: English reader-locale proof. Term names and code fences follow the en pack; supporting prose may still be English.
Rejected by faber test because flaky retries are not executed.
Syntax: flaky <number>
Category#
testing
Related#
None.
Examples#
radix/corpus/reference/keyword/fragilis/fragilis.fab (canonical · keyword)#
Rejected by faber test because flaky retries are not executed.
# =============================================================================
# flaky — Rejected flaky test modifier
# =============================================================================
#
# What this teaches:
# • `faber test` rejects a case with `flaky <N>` before executing its body.
# The runner does not execute flaky retries.
# • `flaky` is not an allow-failure modifier and does not retry a case.
#
# Common mistakes:
# • Expecting `flaky <N>` to allow failure or retry a test — `faber test`
# rejects it because flaky retries are not implemented.
# =============================================================================
# flaky — rejected flaky test modifier
#
# GRAMMAR:
# testModifier :← 'flaky' integer
#
# EXPECTED RUNNER OUTCOME:
# `faber test corpus/fragilis/fragilis.fab` rejects this case; its body is
# not executed. The failure explains that flaky retries are not executed.
#
# BACKEND:
# declaration-only test modifier (whitelist: flaky/fragilis.fab).
#
test "fragilis is rejected" flaky 1 {
assert true
}