[rtems-docs commit] eng: Add unit test link role

Sebastian Huber sebh at rtems.org
Thu Apr 29 05:31:34 UTC 2021


Module:    rtems-docs
Branch:    master
Commit:    e263e84a98298d5773a20b72c3b1c2064eaa747c
Changeset: http://git.rtems.org/rtems-docs/commit/?id=e263e84a98298d5773a20b72c3b1c2064eaa747c

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Apr 29 07:22:28 2021 +0200

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.



More information about the vc mailing list