summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-29 07:22:28 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-04-29 07:27:00 +0200
commite263e84a98298d5773a20b72c3b1c2064eaa747c (patch)
treecebc726580651f7ad5ac4529cc06f2ea269eb051
parent889a5ffcc7548468ed48dd188b887da8f593bce3 (diff)
downloadrtems-docs-e263e84a98298d5773a20b72c3b1c2064eaa747c.tar.bz2
eng: Add unit test link role
Update #3715.
-rw-r--r--eng/req/items.rst25
1 files 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.