[PATCH 2/5] eng: Remove test name attribute

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Aug 19 09:14:20 UTC 2020


Derive the test name from the item UID.

Update #3715.
---
 eng/req/items.rst | 28 ----------------------------
 1 file changed, 28 deletions(-)

diff --git a/eng/req/items.rst b/eng/req/items.rst
index d2b2860..030f47f 100644
--- a/eng/req/items.rst
+++ b/eng/req/items.rst
@@ -1745,9 +1745,6 @@ test-local-includes
     The attribute value shall be a list of strings. It shall be a list of
     header files included via ``#include "..."``.
 
-test-name
-    The attribute value shall be a :ref:`SpecTypeTestName`.
-
 test-prepare
     The attribute value shall be an optional string. If the value is present,
     then it shall be the early test preparation code.  The code is placed in
@@ -1869,7 +1866,6 @@ Please have a look at the following example:
     test-header: null
     test-includes: []
     test-local-includes: []
-    test-name: RedGreenData
     test-prepare: null
     test-setup: null
     test-stop: null
@@ -2077,9 +2073,6 @@ local-includes
     The attribute value shall be a list of strings. It shall be a list of
     header files included via ``#include "..."``.
 
-name
-    The attribute value shall be a :ref:`SpecTypeTestName`.
-
 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
@@ -2175,9 +2168,6 @@ local-includes
     The attribute value shall be a list of strings. It shall be a list of
     header files included via ``#include "..."``.
 
-name
-    The attribute value shall be a :ref:`SpecTypeTestName`.
-
 target
     The attribute value shall be a string. It shall be the path to the
     generated target test suite source file.
@@ -4966,24 +4956,6 @@ This type is used by the following types:
 
 * :ref:`SpecTypeTestCaseAction`
 
-.. _SpecTypeTestName:
-
-Test Name
-^^^^^^^^^
-
-The value shall be a string. It shall be the name of a test suite or test case.
-It shall be formatted in the style of a caption.  If shall form a valid C
-designator after removal of all white space characters. The value shall match
-with the regular expression "``^[A-Z][a-zA-Z0-9 _]+$``".
-
-This type is used by the following types:
-
-* :ref:`SpecTypeActionRequirementItemType`
-
-* :ref:`SpecTypeTestCaseItemType`
-
-* :ref:`SpecTypeTestSuiteItemType`
-
 .. _SpecTypeUID:
 
 UID
-- 
2.26.2



More information about the devel mailing list