diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-08 08:45:01 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-06-08 08:59:20 +0200 |
commit | 1a58bbe76eba50160565d02e63a5c3a4d5424d8e (patch) | |
tree | 47ad7e535ebe1993186894c2e49709c0be136d75 /spec/spec/requirement-action-condition.yml | |
parent | 49b564701d2c3309a4eee2eb85d24da55e7ff8a2 (diff) |
spec: Generalize directive to action requirements
Diffstat (limited to '')
-rw-r--r-- | spec/spec/requirement-action-condition.yml (renamed from spec/spec/requirement-directive-condition.yml) | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/spec/spec/requirement-directive-condition.yml b/spec/spec/requirement-action-condition.yml index 10a35b2e..36fc34cb 100644 --- a/spec/spec/requirement-directive-condition.yml +++ b/spec/spec/requirement-action-condition.yml @@ -12,26 +12,29 @@ spec-info: attributes: name: description: null - spec-type: requirement-directive-name + spec-type: requirement-action-name states: description: null - spec-type: requirement-directive-state-list + spec-type: requirement-action-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. + check before the state-specific code. The code may use a local + variable ``ctx`` which points to the test context, see + ${requirement-action-test-context:/spec-name}. 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. + check after the state-specific code. The code may use a local + variable ``ctx`` which points to the test context, see + ${requirement-action-test-context:/spec-name}. spec-type: optional-str description: | - This set of attributes defines a directive pre-condition or - post-condition. + This set of attributes defines an action pre-condition or post-condition. mandatory-attributes: all -spec-name: Directive Requirement Condition -spec-type: requirement-directive-condition +spec-name: Action Requirement Condition +spec-type: requirement-action-condition type: spec |