summaryrefslogtreecommitdiff
path: root/spec/spec/requirement-action.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-04 09:04:40 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-08-19 11:29:34 +0200
commite3e1de716d95b2e14a077d57f38ef77b3eb73ac8 (patch)
tree6ba0ab90921b6fe444439417257b03a60af576b4 /spec/spec/requirement-action.yml
parentc127fb3f519dfb5b93a87aa2161c77ab7d95edbf (diff)
validation: Add test cleanup
Diffstat (limited to 'spec/spec/requirement-action.yml')
-rw-r--r--spec/spec/requirement-action.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/spec/requirement-action.yml b/spec/spec/requirement-action.yml
index aacef508..093ef671 100644
--- a/spec/spec/requirement-action.yml
+++ b/spec/spec/requirement-action.yml
@@ -85,6 +85,7 @@ spec-example: |
test-action: |
/* Call the function of the action */
test-brief: null
+ test-cleanup: null
test-context:
- brief: null
description: null
@@ -151,6 +152,12 @@ spec-info:
If the value is present, then it shall be the test case brief
description.
spec-type: optional-str
+ test-cleanup:
+ description: |
+ 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.
+ spec-type: optional-str
test-context:
description: null
spec-type: requirement-action-test-context-list