From e263e84a98298d5773a20b72c3b1c2064eaa747c Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 29 Apr 2021 07:22:28 +0200 Subject: eng: Add unit test link role Update #3715. --- eng/req/items.rst | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/eng/req/items.rst b/eng/req/items.rst index f9f8b54..2161b4c 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -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. -- cgit v1.2.3