Skip to content

Commit b1f48c3

Browse files
Verification Process Requirements Tooling alignment
Resolves: #36 Signed-off-by: aschemmel-tech <[email protected]>
1 parent f064b49 commit b1f48c3

File tree

4 files changed

+36
-26
lines changed

4 files changed

+36
-26
lines changed

process/process_areas/verification/guidance/verification_process_toolreqs.rst

Lines changed: 28 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,12 @@ Test Linking to Requirements
2828
* Verifies
2929
* PartiallyVerifies
3030
* FullyVerifies
31-
* ASIL
32-
* QM
33-
* ASIL_B
3431
* Description
35-
* Status
36-
* valid
37-
* invalid
3832
* TestType
3933
* Fault Injection (fault-injection)
4034
* Interface Test (interface-test)
4135
* Requirements-based Test (requirements-based)
4236
* Resource Usage Evaluation (resource-usage)
43-
4437
* DerivationTechnique
4538
* Analysis of requirements (requirements-analysis)
4639
* Analysis of design (design-analysis)
@@ -69,8 +62,6 @@ Test Linking to Requirements
6962
public:
7063
void SetUp() override
7164
{
72-
RecordProperty("Status", "<Status>");
73-
RecordProperty("ASIL", "<ASIL>");
7465
RecordProperty("TestType", "<TestType>");
7566
RecordProperty("DerivationTechnique", "<DerivationTechnique>");
7667
...
@@ -99,7 +90,6 @@ Test Linking to Requirements
9990
10091
@pytest.fixture(scope="session", autouse=True)
10192
def add_metadata(record_testsuite_property):
102-
record_testsuite_property("ASIL", "<ASIL>")
10393
record_testsuite_property("TestType", "<TestType>")
10494
record_testsuite_property("DerivationTechnique", "<DerivationTechnique>")
10595
class Testclass(TestSim):
@@ -123,8 +113,6 @@ Test Linking to Requirements
123113
#[record_property("PartiallyVerifies", "ID_2, ID_3, ...")]
124114
#[record_property("FullyVerifies", "ID_4, ID_5, ...")]
125115
#[record_property("Description", "<Description>")]
126-
#[record_property("Status", "<Status>")]
127-
#[record_property("ASIL", "<ASIL>")]
128116
#[record_property("TestType", "<TestType>")]
129117
#[record_property("DerivationTechnique", "<DerivationTechnique>")]
130118
#[test]
@@ -134,6 +122,33 @@ Test Linking to Requirements
134122
135123
.. gd_req:: Test Independence
136124
:id: gd_req__verification_independence
137-
:status: draft
125+
:status: valid
138126

139127
The approver of a pull request shall differ from the author(s) of the pull request in all pull requests.
128+
129+
.. gd_req:: Verification Reporting
130+
:id: gd_req__verification_reporting
131+
:status: valid
132+
133+
Verification reports shall be automatically generated. These may be independent documents (i.e. not integrated into sphinx documentation).
134+
The content of the reports is specified in :need:`gd_temp__platform_ver_report` and :need:`gd_temp__mod_ver_report`.
135+
136+
.. gd_req:: Verification Documentation Checks
137+
:id: gd_req__verification_checks
138+
:status: valid
139+
140+
The following checks shall be implemented on test metadata:
141+
- TestType and DerivationTechnique shall be set
142+
- Description shall not be empty
143+
- In a Platform Test Partially/FullyVerifies shall be set to a Platform Requirement
144+
- If Partially/FullyVerifies are set in Feature Integration Test these shall link to Feature Requirements
145+
- If Partially/FullyVerifies are set in Component Integration Test these shall link to Component Requirements
146+
- If Partially/FullyVerifies are set in Unit Test these shall link to Component Requirements
147+
148+
.. gd_req:: Verification Documentation Checks Extended
149+
:id: gd_req__verification_checks_extended
150+
:status: draft
151+
152+
The following checks shall be implemented on test metadata:
153+
- If TestType is set to requirements-based then PartiallyVerifies or FullyVerifies shall contain a link to at least one requirement
154+
- If TestType is set to interface-test then PartiallyVerifies or FullyVerifies shall contain a link to at least one interface

process/process_areas/verification/guidance/verification_report_template.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ Verification Report Templates
2424

2525
This document implements :need:`wp__verification__module_ver_report`.
2626

27-
| Place the document header here following the `REPLACE_doc__documentation_mgt_plan`.
27+
| Place the document header here following the definitions in your module's
28+
| Documentation Management Plan (doc__documentation_mgt_plan).
2829
|
2930
| This verification report is based on the :need:`wp__verification__plan`.
3031
| It covers all the components of the above stated module.
@@ -34,7 +35,7 @@ Verification Report Templates
3435
| **1. Verification Coverage**
3536
|
3637
| **1.1. on Requirements**
37-
| - Lists of component requirements (incl. AoU satisfied by the component) tested by which test case, passed/failed and completeness verdict
38+
| - Lists of component requirements (incl. AoU satisfied by the component) tested by which test case, passed/failed/not_run and completeness verdict
3839
| (this shall be generated by tools and accompanied by progress charts to be usable also for project steering)
3940
| - For external component Assumptions of Use: coverage by platform safety manual or feature/components incl. test case, passed/failed and completeness verdict
4041
| - This is split in a list of QM requirements tested and a separate list of tests for ASIL rated requirements.
@@ -89,7 +90,8 @@ Verification Report Templates
8990

9091
This document implements :need:`wp__verification__platform_ver_report`.
9192

92-
| Place the document header here following the `REPLACE_doc__documentation_mgt_plan`.
93+
| Place the document header here following the definitions in your project's
94+
| Documentation Management Plan (doc__documentation_mgt_plan).
9395
|
9496
| This verification report is based on the :need:`wp__verification__plan`.
9597
| It covers all the selected features of the SW platform.
@@ -99,7 +101,7 @@ Verification Report Templates
99101
| **1. Verification Coverage**
100102
|
101103
| **1.1. on Requirements**
102-
| - Lists of feature requirements tested by which test case, passed/failed and completeness verdict
104+
| - Lists of feature requirements tested by which test case, passed/failed/not_run and completeness verdict
103105
| (this shall be generated by tools and accompanied by progress charts to be usable also for project steering)
104106
| - For external component Assumptions of Use: coverage by platform safety manual or feature
105107
| - This is split in a list of QM requirements tested and a separate list of tests for ASIL rated requirements.

process/process_areas/verification/guidance/verification_specification.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,12 @@ A test specification contains the following attributes.
4747
- Expected outcome (e.g. "A success message is displayed.")
4848
- Test environment (e.g. network configuration, clean system state)
4949
-
50-
* - Status
51-
-
52-
- valid
53-
- invalid
54-
-
55-
-
5650
* - TestType
5751
- Examples are:
5852

5953
- requirements-based
6054
- interface-test
61-
- boundary
6255
- coverage (various types apply, shall be tool supported)
63-
- for :need:`wp__verification__sw_unit_test` also fault-injection
6456
- These are example values and an incomplete list.
6557
A full list of test types is available in :need:`doc_concept__verification__process` at
6658
:ref:`verification_concept_types_methods`.

process/process_areas/verification/verification_concept.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ The derivation of test cases can also be based on certain methods.
117117
* Analysis of boundary values (boundary-values)
118118
* Analysis of equivalence classes (equivalence-classes)
119119
* Analysis of requirements (requirements-analysis)
120+
* Analysis of design (design-analysis)
120121
* Error guessing based on knowledge or experience (error-guessing)
121122
* Fuzzy testing (fuzz-testing)
122-
* Exlporative testing (explorative-testing)
123+
* Explorative testing (explorative-testing)
123124

124125
Usually the defined methods are not applied on each verification level between unit and platform level.
125126
Also their execution may differ whether it is a QM or ASIL rated test case.

0 commit comments

Comments
 (0)