Skip to main content

Module text

Module text 

Source
Expand description

The acceptance criteria of a ticket’s description, as every source reads them.

Constants§

CRITERION_CHARS
MAX_CRITERIA
At most this many criteria come from a description, each cut to CRITERION_CHARS.

Functions§

criteria_in
The criteria of a field that holds nothing else (Azure Boards’ « Acceptance Criteria »), as markdown: its list items, else its lines; a line that names them is left out.
criteria_of
The acceptance criteria a description lists: the items under a heading or a line that names them (« Critères d’acceptation », « Acceptance criteria », « Definition of done »), else its task list items (- [ ]); none when it has neither.
names_criteria
A line that names the acceptance criteria (a heading, a bold line, a line ending with “:”).