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-state.yml | |
parent | 49b564701d2c3309a4eee2eb85d24da55e7ff8a2 (diff) |
spec: Generalize directive to action requirements
Diffstat (limited to 'spec/spec/requirement-action-state.yml')
-rw-r--r-- | spec/spec/requirement-action-state.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/spec/spec/requirement-action-state.yml b/spec/spec/requirement-action-state.yml new file mode 100644 index 00000000..8b1e55ba --- /dev/null +++ b/spec/spec/requirement-action-state.yml @@ -0,0 +1,32 @@ +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-action-name + test-code: + description: | + It shall be the test code to prepare or check the state of the + condition. The code may use a local variable ``ctx`` which points to + the test context, see ${requirement-action-test-context:/spec-name}. + spec-type: str + text: + description: | + It shall define the state of the condition. + spec-type: requirement-text + description: | + This set of attributes defines an action pre-condition or post-condition + state. + mandatory-attributes: all +spec-name: Action Requirement State +spec-type: requirement-action-state +type: spec |