{% criterion %}
Attributes
| Parameter | Type | Required | Description |
|---|---|---|---|
id | string | ✓ | Unique kebab-case id within the feature (e.g., 'save-url') |
requirement | string | — | Bare id of the requirement this criterion satisfies (e.g., 'save-url') |
scope | string | — | Space-separated list of scopes (public, agent, internal) |
Valid Parent Contexts
This tag is valid inside: {% criteria %}
Rules
| Rule | Force | Realm | Reference | Description |
|---|---|---|---|---|
criterion-gherkin-format | | | — | Prose body follows Gherkin format: Given/When/Then. |
Defines a specific, testable Acceptance Criterion.
Acceptance criterion in Gherkin format
{% criteria %} {% criterion id="save-url" requirement="save-url" %} Given a valid URL, when submitted, then a bookmark is saved. {% /criterion %}{% /criteria %}