Tag convention
Tools that scan files for requirement ids find them in these places. The convention is part of the interface: a change is a breaking change of WireForge.
Verified against: not yet (pilot pending).
In generated C++
/// Requirements: HLR-SNS-001, HLR-SNS-004; LLR-SensorReading.LAYOUT, LLR-SensorReading.temperature.RANGE
/// at 100 columns. Regular expression:
Requirements:\s*([A-Za-z0-9_.:-]+(?:\s*[,;]\s*[A-Za-z0-9_.:-]+)*)
requirements
section.
In generated tests
Every test starts with
::testing::Test::RecordProperty("requirements", "LLR-SensorReading.LAYOUT,HLR-SNS-001");
<property name="requirements" value="..."/>. The ids of requirement vectors
are high-level ids; the others are low-level ids.
In Markdown
Each requirement, test and element has an anchor and shows the id in the same line:
<a id="llr-sensorreading-layout"></a>LLR-SensorReading.LAYOUT. The anchor is the id in lower case with every
character outside a-z0-9- replaced by -.
Characters
An id uses A-Z a-z 0-9 _ . : -. The format of llr_ids.lock cannot produce anything else.