Squore allows you to define links between artefacts. The links are generally created by Data Providers in your model (see the section called “Creating your own Data Providers”), and are displayed automatically in tables on the dashboard, as shown below:
Links in the scorecard can be clicked to navigate to the target artefact directly.
For more information about advanced display options for links, consult the section called “Scorecard Tables”.
Links are declared in the analysis model using a Links
element, which accepts the following attributes:
id
(mandatory) is the unique identifier for the link type in your model
inArtefactTypes
(optional, default: any) is a list of possible artefact types that can generate inbound links for this type of link.
outArtefactTypes
(optional, default: any) is a list of possible artefact types that this type of link can link create outbound links to.
The links shown in the picture above can be defined as follows:
<Link id="TEST" inArtefactTypes="REQUIREMENT" outArtefactTypes="TEST_CASE" /> <Link id="RELATED_REQ" inArtefactTypes="REQUIREMENT" outArtefactTypes="REQUIREMENT" />
It is not strictly necessary to declare all your link types in the analysis model. The only case when this is necessary
is when you want to use a condition in the LINKS()
function, which you can read about in the section called “Conditional and Level-Related Functions”.