summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-08 15:01:50 +0100
committerSebastian Huber <sebastian.huber@embedded-brains.de>2021-02-08 15:02:36 +0100
commit174444f655cd46162ba2c51e511fbd8e67a102dc (patch)
tree724ca6a70524c1f42f84a4288066f2088555a920
parentuser: remove old build system cmd (diff)
downloadrtems-docs-174444f655cd46162ba2c51e511fbd8e67a102dc.tar.bz2
eng: Update test case item
Update #3715.
-rw-r--r--eng/req/items.rst57
1 files changed, 31 insertions, 26 deletions
diff --git a/eng/req/items.rst b/eng/req/items.rst
index 418d27e..ae0ccf4 100644
--- a/eng/req/items.rst
+++ b/eng/req/items.rst
@@ -2362,20 +2362,18 @@ test-brief
The attribute value shall be a string. It shall be the test case brief
description.
-test-description
- The attribute value shall be an optional string. It shall be the test case
- description.
+test-context
+ The attribute value shall be a list. Each list element shall be a
+ :ref:`SpecTypeTestContextMember`.
-test-epilogue
+test-context-support
The attribute value shall be an optional string. If the value is present,
- then it shall be the test case epilogue code. The epilogue code is placed
- in the test case body after the test case actions.
+ then it shall be the test context support code. The context support code
+ is placed at file scope before the test context definition.
-test-fixture
- The attribute value shall be an optional string. If the value is present,
- then it shall be a pointer to the test case fixture. The test case fixture
- pointer declaration may be provided by the test case support code or via an
- included header file.
+test-description
+ The attribute value shall be an optional string. It shall be the test case
+ description.
test-header
The attribute value shall be a :ref:`SpecTypeTestHeader`.
@@ -2388,11 +2386,11 @@ test-local-includes
The attribute value shall be a list of strings. It shall be a list of
header files included via ``#include "..."``.
-test-prologue
- The attribute value shall be an optional string. If the value is present,
- then it shall be the test case prologue code. The prologue code is placed
- in the test case body before the test case actions. A use case is the
- declaration of local variables used by the test case actions.
+test-setup
+ The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
+
+test-stop
+ The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
test-support
The attribute value shall be an optional string. If the value is present,
@@ -2403,6 +2401,9 @@ test-target
The attribute value shall be a string. It shall be the path to the
generated target test case source file.
+test-teardown
+ The attribute value shall be a :ref:`SpecTypeTestSupportMethod`.
+
.. _SpecTypeTestPlatformItemType:
Test Platform Item Type
@@ -5240,7 +5241,11 @@ Test Case Action
This set of attributes specifies a test case action. All explicit attributes
shall be specified. The explicit attributes for this type are:
-action
+action-brief
+ The attribute value shall be an optional string. It shall be the test case
+ action brief description.
+
+action-code
The attribute value shall be a string. It shall be the test case action
code.
@@ -5248,10 +5253,6 @@ checks
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeTestCaseCheck`.
-description
- The attribute value shall be an optional string. It shall be the test case
- action description.
-
links
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`.
@@ -5268,14 +5269,14 @@ Test Case Check
This set of attributes specifies a test case check. All explicit attributes
shall be specified. The explicit attributes for this type are:
-check
+brief
+ The attribute value shall be an optional string. It shall be the test case
+ check brief description.
+
+code
The attribute value shall be a string. It shall be the test case check
code.
-description
- The attribute value shall be an optional string. It shall be the test case
- check description.
-
links
The attribute value shall be a list. Each list element shall be a
:ref:`SpecTypeLink`.
@@ -5316,6 +5317,8 @@ This type is used by the following types:
* :ref:`SpecTypeRuntimeMeasurementTestItemType`
+* :ref:`SpecTypeTestCaseItemType`
+
.. _SpecTypeTestHeader:
Test Header
@@ -5426,6 +5429,8 @@ This type is used by the following types:
* :ref:`SpecTypeRuntimePerformanceRequirementItemType`
+* :ref:`SpecTypeTestCaseItemType`
+
.. _SpecTypeUID:
UID