diff --git a/MODULE.bazel b/MODULE.bazel index 31dae15e7..95956be74 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -70,12 +70,7 @@ http_file( urls = ["https://github.com/withered-magic/starpls/releases/download/v0.1.21/starpls-linux-amd64"], ) -bazel_dep(name = "score_process", version = "2.0.1") -git_override( - module_name = "score_process", - commit = "292ec1c913a88ed1b724e33fdae658df6dc7b033", - remote = "https://github.com/eclipse-score/process_description", -) +bazel_dep(name = "score_process", version = "2.0.2") # Provide the tools from the devcontainer to Bazel bazel_dep(name = "score_devcontainer", version = "1.8.0") diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 1570a3bb6..d075f079d 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -299,6 +299,8 @@ "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/rules_shell/0.4.1/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.8.0/MODULE.bazel": "89f855b94d041d2e61ff9667562fb4539c146249f6fb4c5dddf3d13bb9064aa7", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.8.0/source.json": "ef316fad71fdbd53daf43fc0a82fbc7c293908a2712214ff79134c177d028024", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process/2.0.2/MODULE.bazel": "6d2b227bb6880e9f6871cc8cf94c83399e35c188424f7e9b826262de8149ed43", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process/2.0.2/source.json": "5ae55f0dabcddeb5bfae16ce480e2c065f907d2b0ed6a8e4ed7409b259b004ee", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/sphinxdocs/2.2.0/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/stardoc/0.5.1/MODULE.bazel": "not found", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/stardoc/0.5.3/MODULE.bazel": "not found", diff --git a/docs/internals/requirements/requirements.rst b/docs/internals/requirements/requirements.rst index a49df7bf4..1a7ade0f5 100644 --- a/docs/internals/requirements/requirements.rst +++ b/docs/internals/requirements/requirements.rst @@ -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. + 📚 Documents diff --git a/src/extensions/score_metamodel/tests/rst/options/test_options_failure_effect.rst b/src/extensions/score_metamodel/tests/rst/options/test_options_failure_effect.rst index 9d0b9a1fc..6ef600c20 100644 --- a/src/extensions/score_metamodel/tests/rst/options/test_options_failure_effect.rst +++ b/src/extensions/score_metamodel/tests/rst/options/test_options_failure_effect.rst @@ -158,7 +158,7 @@ .. feat_saf_fmea:: Empty failure_effect :id: feat_saf_fmea__test__empty_failure_effect :fault_id: FMEA_05 - :failure_effect: + :failure_effect: :sufficient: yes :status: valid :expect: feat_saf_fmea__test__empty_failure_effect: is missing required attribute: `failure_effect`.