eng: Add unit test link role

Update #3715.
This commit is contained in:
Sebastian Huber 2021-04-29 07:22:28 +02:00
parent 889a5ffcc7
commit e263e84a98

View File

@ -4391,6 +4391,8 @@ This type is refined by the following types:
* :ref:`SpecTypeSpecificationRefinementLinkRole`
* :ref:`SpecTypeUnitTestLinkRole`
This type is used by the following types:
* :ref:`SpecTypeRootItemType`
@ -5414,7 +5416,9 @@ checks
links
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`.
:ref:`SpecTypeLink`. The links should use the
:ref:`SpecTypeRequirementValidationLinkRole` for validation tests and the
:ref:`SpecTypeUnitTestLinkRole` for unit tests.
This type is used by the following types:
@ -5438,7 +5442,9 @@ code
links
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`.
:ref:`SpecTypeLink`. The links should use the
:ref:`SpecTypeRequirementValidationLinkRole` for validation tests and the
:ref:`SpecTypeUnitTestLinkRole` for unit tests.
This type is used by the following types:
@ -5601,3 +5607,18 @@ item UID.
This type is used by the following types:
* :ref:`SpecTypeLink`
.. _SpecTypeUnitTestLinkRole:
Unit Test Link Role
^^^^^^^^^^^^^^^^^^^
This type refines the :ref:`SpecTypeLink` through the ``role`` attribute if the
value is ``unit-test``. It defines the unit test role of links. For unit tests
the link target should be the :ref:`SpecTypeInterfaceDomainItemType` containing
the software unit. All explicit attributes shall be specified. The explicit
attributes for this type are:
name
The attribute value shall be a string. It shall be the name of the tested
software unit.