summaryrefslogtreecommitdiff
path: root/spec/spec/requirement-directive-condition.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-04 09:57:22 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-06-08 08:59:20 +0200
commit9c978899b5151b410b4de479608ac24be1b5c4a3 (patch)
tree8d8265f313acee90286094816abb90c47e042368 /spec/spec/requirement-directive-condition.yml
parente5d1f8d9528dc33cf1289c8e7ec551109806604e (diff)
spec: Specify directive requirement items
Diffstat (limited to '')
-rw-r--r--spec/spec/requirement-directive-condition.yml37
1 files changed, 37 insertions, 0 deletions
diff --git a/spec/spec/requirement-directive-condition.yml b/spec/spec/requirement-directive-condition.yml
new file mode 100644
index 00000000..10a35b2e
--- /dev/null
+++ b/spec/spec/requirement-directive-condition.yml
@@ -0,0 +1,37 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH (http://www.embedded-brains.de)
+enabled-by: true
+links:
+- role: spec-member
+ uid: root
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ name:
+ description: null
+ spec-type: requirement-directive-name
+ states:
+ description: null
+ spec-type: requirement-directive-state-list
+ test-epilogue:
+ description: |
+ If the value is present, then it shall be the test epilogue code.
+ The epilogue code is placed in the test condition preparation or
+ check before the state-specific code.
+ spec-type: optional-str
+ test-prologue:
+ description: |
+ If the value is present, then it shall be the test prologue code.
+ The prologue code is placed in the test condition preparation or
+ check after the state-specific code.
+ spec-type: optional-str
+ description: |
+ This set of attributes defines a directive pre-condition or
+ post-condition.
+ mandatory-attributes: all
+spec-name: Directive Requirement Condition
+spec-type: requirement-directive-condition
+type: spec