[rtems-docs commit] eng: Update test case item

Sebastian Huber sebh at rtems.org
Mon Feb 8 14:02:51 UTC 2021


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Mon Feb  8 15:01:50 2021 +0100

eng: Update test case item

Update #3715.

---

 eng/req/items.rst | 57 ++++++++++++++++++++++++++++++-------------------------
 1 file 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



More information about the vc mailing list