You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat: optional checks that SVC descriptions are testable #489
validate checks references and coverage (every requirement has an SVC, manual SVCs have MVRs), but not whether an SVC's description can actually be tested. An SVC that says "the order is handled correctly" passes validation and gets linked to a test, even though no test can check it.
Desired solution
Optional, deterministic checks on SVC text in validate (warnings by default, errors with --strict):
The description of an automated SVC contains GIVEN, WHEN and THEN.
The THEN part names something a test can check: a value, a status or error code, a field name or a number.
Vague words are flagged, with a configurable list (for example "correctly", "as expected", "appropriate", "properly").
Keep the checks simple and predictable, so a warning always points at something the author can fix. Judging whether an outcome is meaningful is better left to a reviewer or an AI skill.
Alternatives considered
Leave text quality to review: works, but the same problems come back in every review.
An AI skill in reqstool-ai that reviews SVC text: complements these checks, and could also check that the linked tests actually assert the values the THEN part names.
Apply the same checks to requirement text, not only SVC descriptions. A requirement that says "the system shall respond quickly" cannot get a meaningful SVC either.
More rules from the INCOSE Guide for Writing Requirements, still deterministic:
escape clauses: "if possible", "where appropriate", "as far as practicable"
open-ended lists: "including but not limited to", "etc.", "and so on"
absolutes that cannot be verified: "always", "never", "100%", "all" without a bound
more than one statement: several "shall" in one requirement, or "and/or"
unmeasurable targets: "fast", "user-friendly", "minimal", "sufficient" without a number or unit
Each could be its own rule ID, so a project can turn individual rules off in config.
Activity
jimisola commentedon Nov 20, 2026
Two possible extensions:
Each could be its own rule ID, so a project can turn individual rules off in config.