diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-06 09:15:13 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-08-19 11:11:45 +0200 |
commit | 9633e98d5df0bfa19989fea5c5753cb6f8d84fa8 (patch) | |
tree | e975a780842727216f3772e50475e75f7f488495 /eng | |
parent | user: Fix format (diff) | |
download | rtems-docs-9633e98d5df0bfa19989fea5c5753cb6f8d84fa8.tar.bz2 |
eng: Add test case attributes
Update #3715.
Diffstat (limited to 'eng')
-rw-r--r-- | eng/req/items.rst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/eng/req/items.rst b/eng/req/items.rst index cba6cc6..d2b2860 100644 --- a/eng/req/items.rst +++ b/eng/req/items.rst @@ -1716,10 +1716,20 @@ test-brief The attribute value shall be an optional string. If the value is present, then it shall be the test case brief description. +test-cleanup + The attribute value shall be an optional string. If the value is present, + then it shall be the test cleanup code. The code is placed in the test + action loop body after the test post-condition checks. + test-context The attribute value shall be a list. Each list element shall be an :ref:`SpecTypeActionRequirementTestContextMember`. +test-context-support + The attribute value shall be an optional string. If the value is present, + then it shall be the test context support code. The context support code + is placed at file scope before the test context definition. + test-description The attribute value shall be an optional string. If the value is present, then it shall be the test case description. @@ -1738,6 +1748,11 @@ test-local-includes 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 + the test action loop body before the test pre-condition preparations. + test-setup The attribute value shall be an :ref:`SpecTypeActionRequirementTestFixtureMethod`. @@ -1841,6 +1856,7 @@ Please have a look at the following example: test-action: | /* Call the function of the action */ test-brief: null + test-cleanup: null test-context: - brief: null description: null @@ -1848,11 +1864,13 @@ Please have a look at the following example: - brief: null description: null member: option_type option + test-context-support: null test-description: null test-header: null test-includes: [] test-local-includes: [] test-name: RedGreenData + test-prepare: null test-setup: null test-stop: null test-support: null |