summaryrefslogtreecommitdiff
path: root/spec/spec/test-suite.yml
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-26 08:33:20 +0200
committerSebastian Huber <sebastian.huber@embedded-brains.de>2020-05-28 10:38:23 +0200
commitd8f8125da2724c57438bc4f7a7ff33219e443497 (patch)
tree0d88067f52b58cc15091186cd713cc5368985109 /spec/spec/test-suite.yml
parentad3bc01a76d026e647e25b0c0a2a22b51d2bacdf (diff)
spec: Add specification of test items
Diffstat (limited to 'spec/spec/test-suite.yml')
-rw-r--r--spec/spec/test-suite.yml50
1 files changed, 50 insertions, 0 deletions
diff --git a/spec/spec/test-suite.yml b/spec/spec/test-suite.yml
new file mode 100644
index 00000000..517f5428
--- /dev/null
+++ b/spec/spec/test-suite.yml
@@ -0,0 +1,50 @@
+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
+- role: spec-refinement
+ spec-key: type
+ spec-value: test-suite
+ uid: root
+spec-description: null
+spec-example: null
+spec-info:
+ dict:
+ attributes:
+ brief:
+ description: |
+ It shall be the test suite brief description.
+ spec-type: str
+ code:
+ description: |
+ It shall be the test suite code. The test suite code is placed at
+ file scope in the target source file.
+ spec-type: str
+ description:
+ description: |
+ It shall be the test suite description.
+ spec-type: optional-str
+ includes:
+ description: |
+ It shall be a list of header files included via ``#include <...>``.
+ spec-type: list-str
+ local-includes:
+ description: |
+ It shall be a list of header files included via ``#include "..."``.
+ spec-type: list-str
+ name:
+ description: null
+ spec-type: test-name
+ target:
+ description: |
+ It shall be the path to the generated target test suite source file.
+ spec-type: str
+ description: |
+ This set of attributes specifies a test suite.
+ required-attributes: all
+spec-name: Test Suite Item Type
+spec-type: test-suite
+type: spec