Restrictions

Restriction: Set ``tr_case_id_length`` and ``tr_suite_id_length`` to avoid collisions RE_STR_ID_LENGTH

The default ID length (5 characters) is insufficient for test suites with more than a few hundred test cases. Projects with large test suites must set tr_case_id_length ≥ 8 and tr_suite_id_length ≥ 6 in conf.py to keep the birthday-paradox collision probability below 0.1%.

Example (used in this qualification project):

tr_case_id_length = 8
tr_suite_id_length = 6

Mitigates:

  • ER_STR_CASE_ID_COLLISION: Longer IDs drastically reduce collision risk

  • ER_STR_SUITE_ID_COLLISION: Same for suite IDs

Restriction: Use a dedicated custom type for imported test results RE_STR_CUSTOM_TYPE
style: orange_bar

Configure tr_case to use a dedicated type name (e.g. testresult) with a unique ID prefix (e.g. TR_) that does not overlap with any other need type used in the project. This prevents ID collisions between imported results and hand-written test or requirement needs.

Example:

tr_case = ["test-case", "testresult", "Test Result", "TR_", "#4CAF50", "rectangle"]

Mitigates:

  • ER_STR_CUSTOM_TYPE_PREFIX_COLLISION: Unique prefix guarantees no overlap with existing need IDs