Traceability Setup - advanced
MatrixALM manages Design Input and Design Output in categories. It is possible to add links between items of different categories. This links can either be required or optional. Using traceability reports it is possible to analyse the project for broken links.
You can also use smart links to link from one item to another item or a folder. In order to use smart links you just type the item ID of the target item into a rich text field. In reports and when not in edit mode, this smart link will be rendered and as hyperlink to the item.
Traceability rules can be setup in the administration client. They are specified in a JSON project setting, using the following syntax. For each category there is a rule. Each rule defines the following attributes
- category: the category for which the rules applies
- end_point: if the category must be covered by a executed test cases, this can be set to (usually) XTC. Test Configuration.
- creates_end: if the category can be converted to an executed test case this must be set to true (usually TC and UC). See Test Configuration.
- reporting: this contains information in which kind of reports the category should appear. See reporting filter definition.
- up_rules: rules for up traces. A collection of rules, each rule is evaluated:
- message: message displayed if there is an error applying this rule
- name: message used when mentioning that there is a certain rule
- rule: can be must_have or can_have and indicates if an item can have or must have traces to the categories specified in the any_of:
- any_of: the categories to which the rule applies
- down_rules: rules down traces. A collection of rules, each rule is evaluated:
- same structure as up rules
Note: rules to and from XTCs are implicit (by the end_point) attribute and should not be added to the up_rules nor down_rules.
The configuration above specifies for example that
- requirements (REQ) must be tested (there must be an executed test case for each requirement): "end_point": "XTC"
- requirements (REQ) have no up_rules, meaning there is nothing from which they are derived (like marketing requirements)
- requirements are used as input for reports which rely on "DesigInput" and/or "Design"
- there are an expected 100 requirements to be created and 200 specifications (for the progress report)
- which categories have which reporting type, e.g. XTC shows in reports which included types of the "ExecutedTest"
Note if a requirement must have links to specifications and use cases, the down rules would look like this
In order to see whether all rules are obeyed, you can create the Traceability Report Generic.