-
Notifications
You must be signed in to change notification settings - Fork 27
fix: Update tool requirements & update to process 2.0.2 #659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -273,20 +273,48 @@ Versioning | |
| In our enviroment it supports whole numbers e.g. (1,2,10,34) | ||
|
|
||
|
|
||
|
|
||
| .. tool_req:: Suspicious: Enforce attribute | ||
| :id: tool_req__docs_common_attr_suspicious | ||
| :tags: Common Attributes | ||
| :implemented: YES | ||
| :version: 1 | ||
| :parent_covered: NO: parent talks about setting covered to false, but we want to issue a build error. | ||
| :satisfies: gd_req__req_suspicious[version==2] | ||
| :version: 2 | ||
| :parent_covered: YES: Together with :need:`tool_req__docs_req_testlink_outdated_check` and :need:`tool_req__docs_req_attr_testcov_update` | ||
| :satisfies: gd_req__req_suspicious[version==3] | ||
| :status: invalid | ||
|
|
||
| Docs-as-Code shall check if linked parent needs have different versions, compared to | ||
| Docs-as-Code shall check if linked needs have different versions, compared to | ||
| the version the need was originally linked to. | ||
|
|
||
|
|
||
| .. tool_req:: Test coverage: Detect outdated test linkage | ||
| :id: tool_req__docs_req_testlink_outdated_check | ||
| :tags: Common Attributes, Testing | ||
| :implemented: NO | ||
| :version: 1 | ||
| :parent_covered: YES: Together with tool_req__docs_common_attr_suspicious and tool_req__docs_req_attr_testcov_update | ||
| :satisfies: gd_req__req_suspicious[version==3] | ||
| :status: invalid | ||
|
|
||
| Docs-as-Code shall check, for each requirement of type :need:`tool_req__docs_req_types` | ||
| that has one or more linked test needs via the ``testlink`` attribute, whether the | ||
| requirement's version has changed since the version that was originally linked by | ||
| each test. | ||
|
|
||
|
|
||
| .. tool_req:: Test coverage: Set attribute on outdated test linkage | ||
| :id: tool_req__docs_req_attr_testcov_update | ||
| :tags: Common Attributes, Testing | ||
| :implemented: NO | ||
| :version: 1 | ||
| :parent_covered: YES: Together with tool_req__docs_req_testlink_outdated_check tool_req__docs_common_attr_suspicious | ||
| :satisfies: gd_req__req_suspicious[version==3] | ||
| :status: invalid | ||
|
|
||
| Docs-as-Code shall set the ``testcovered`` attribute (see | ||
| :need:`tool_req__docs_req_attr_testcov`) of a requirement to ``No`` whenever | ||
| :need:`tool_req__docs_req_testlink_outdated_check` detects that a linked test is | ||
| outdated with respect to the requirement's version. | ||
|
Comment on lines
+313
to
+316
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I don't like this requirement. This would be very confusing for users, if the testcovered attribute in HTML is different than in the source rst.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I see what you mean ye. |
||
|
|
||
|
|
||
|
|
||
| π Documents | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Parent gd_req__req_suspicious says:
I don't see how we cover this at all? This tool_req__docs_common_attr_suspicious is not about tests and it also sounds more general going beyond just tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I need to re-work this.
What do we do with this one then, I think it makes sense to have, but maybe we don't need to write it down?