SRS_Validator¶
SRS_DRAGNET_0003¶
SRS_DRAGNET_0003 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The Validator shall verify that the loaded MTR files are valid YAML files. |
References: none |
Back References: none |
SRS_DRAGNET_0004¶
SRS_DRAGNET_0004 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The MTR files can contain a list of tested files. |
References: SRS_DRAGNET_0055, SRS_DRAGNET_0013, SRS_DRAGNET_0005, SRS_DRAGNET_0072 |
Back References: none |
SRS_DRAGNET_0055¶
SRS_DRAGNET_0055 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The list of files shall not be mandatory. |
References: none |
Back References: SRS_DRAGNET_0004 |
SRS_DRAGNET_0013¶
SRS_DRAGNET_0013 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The “files” field can contain glob patterns as well as individual files from a single repository. |
References: none |
Back References: SRS_DRAGNET_0004 |
SRS_DRAGNET_0005¶
SRS_DRAGNET_0005 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
If the MTR file contains a set of tested files The Validator shall verify that the files exist in the repository. |
References: none |
Back References: SRS_DRAGNET_0004 |
SRS_DRAGNET_0072¶
SRS_DRAGNET_0072 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The listed files or glob patterns shall be considered
relative to the path being checked by Dragnet, even if they
start with |
References: none |
Back References: SRS_DRAGNET_0004 |
SRS_DRAGNET_0035¶
SRS_DRAGNET_0035 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The MTR files may contain a list of repositories. |
References: SRS_DRAGNET_0056, SRS_DRAGNET_0036, SRS_DRAGNET_0037 |
Back References: none |
SRS_DRAGNET_0056¶
SRS_DRAGNET_0056 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The list of repositories shall not be mandatory. |
References: none |
Back References: SRS_DRAGNET_0035 |
SRS_DRAGNET_0036¶
SRS_DRAGNET_0036 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
If the MTR file contains a list of files it cannot contain a list of repositories as well. |
References: none |
Back References: SRS_DRAGNET_0035 |
SRS_DRAGNET_0037¶
SRS_DRAGNET_0037 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The “repos” field shall contain an array of Objects. |
References: SRS_DRAGNET_0038 |
Back References: SRS_DRAGNET_0035 |
SRS_DRAGNET_0038¶
SRS_DRAGNET_0038 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“none”] |
The objects in the “repos” field shall contain the following attributes: “path”, “sha1” and optionally “files”. |
References: SRS_DRAGNET_0039, SRS_DRAGNET_0040, SRS_DRAGNET_0041, SRS_DRAGNET_0049 |
Back References: SRS_DRAGNET_0037 |
SRS_DRAGNET_0039¶
SRS_DRAGNET_0039 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The “path” attribute defines the path where the repository can be found. It can be either a relative path to the current working directory or an absolute path. |
References: SRS_DRAGNET_0042 |
Back References: SRS_DRAGNET_0038 |
SRS_DRAGNET_0042¶
SRS_DRAGNET_0042 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
Dragnet shall verify that the “path” attribute contains a valid path. |
References: SRS_DRAGNET_0058 |
Back References: SRS_DRAGNET_0039 |
SRS_DRAGNET_0058¶
SRS_DRAGNET_0058 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
If the “path” attribute doesn’t point to an existing path the MTR shall be considered invalid. |
References: none |
Back References: SRS_DRAGNET_0042 |
SRS_DRAGNET_0040¶
SRS_DRAGNET_0040 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“none”] |
The “sha1” attribute shall contain the SHA1 the repository had when the manual test was performed. This will be used to validate the MTR. |
References: SRS_DRAGNET_0043 |
Back References: SRS_DRAGNET_0038 |
SRS_DRAGNET_0043¶
SRS_DRAGNET_0043 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
Dragnet shall verify that the given SHA1 is a valid SHA1 |
References: SRS_DRAGNET_0046 |
Back References: SRS_DRAGNET_0040 |
SRS_DRAGNET_0046¶
SRS_DRAGNET_0046 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
If the “sha1” attribute doesn’t contain a valid SHA1 the MTR shall be considered invalid. |
References: none |
Back References: SRS_DRAGNET_0043 |
SRS_DRAGNET_0041¶
SRS_DRAGNET_0041 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The “files” attribute shall contain a list of individual files or glob patterns, these refer to files inside the repository located at the path defined by the “path” attribute. |
References: SRS_DRAGNET_0044, SRS_DRAGNET_0073 |
Back References: SRS_DRAGNET_0038 |
SRS_DRAGNET_0049¶
SRS_DRAGNET_0049 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The “files” attribute shall not be mandatory. |
References: none |
Back References: SRS_DRAGNET_0038 |
SRS_DRAGNET_0044¶
SRS_DRAGNET_0044 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
Dragnet shall verify that all the listed files (or the files the glob patterns resolve to) exist in the repository. |
References: SRS_DRAGNET_0047, SRS_DRAGNET_0048 |
Back References: SRS_DRAGNET_0041 |
SRS_DRAGNET_0073¶
SRS_DRAGNET_0073 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The listed files or glob patterns shall be considered
relative to the repository root, even if they start with
|
References: none |
Back References: SRS_DRAGNET_0041 |
SRS_DRAGNET_0047¶
SRS_DRAGNET_0047 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
If one or more of the files listed in the “files” attribute doesn’t exist the MTR shall be considered invalid. |
References: none |
Back References: SRS_DRAGNET_0044 |
SRS_DRAGNET_0048¶
SRS_DRAGNET_0048 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
If the “files” attribute contains only glob patterns they should resolve to at least one file. If no files are matched the MTR shall be considered invalid. |
References: none |
Back References: SRS_DRAGNET_0044 |
SRS_DRAGNET_0006¶
SRS_DRAGNET_0006 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The MTR file shall contain the SHA1 on which the tests were carried out. The Validator shall verify that the SHA1 is valid. |
References: none |
Back References: none |
SRS_DRAGNET_0057¶
SRS_DRAGNET_0057 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
The MTR may contain a SHA1 attribute or a list of repositories but NOT both. |
References: none |
Back References: none |
SRS_DRAGNET_0007¶
SRS_DRAGNET_0007 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
MTR files shall contain an “id” field, this must contain the ID of the requirement being tested or an array of IDs being tested. (In case of an array it shall follow YAML’s syntax) |
References: none |
Back References: none |
SRS_DRAGNET_0008¶
SRS_DRAGNET_0008 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
MTR files shall contain a “result” field. The field can either be “passed” or “failed”. |
References: none |
Back References: none |
SRS_DRAGNET_0009¶
SRS_DRAGNET_0009 | accepted | ESR Labs |
Tags: [] |
Test Setups: [“off_target”] |
FuSa related tests shall have the “reviewstatus”, “reviewcomments” and “findings” fields. |
References: none |
Back References: none |
SRS_DRAGNET_0010¶
SRS_DRAGNET_0010 | accepted | ESR Labs |
Tags: [] |
Test Setups: [“off_target”] |
The Validator shall be able to check if a test is related to Functional Safety (FuSa). |
References: none |
Back References: none |
SRS_DRAGNET_0068¶
SRS_DRAGNET_0068 | accepted | ESR Labs |
Tags: [“covered”, “tested”] |
Test Setups: [“off_target”] |
MTR Files may contain the following additional meta-data attributes, none of which shall be mandatory:
|
References: none |
Back References: none |