diff --git a/MODULE.bazel b/MODULE.bazel index 39c566df3..0be5b2ba0 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -91,7 +91,7 @@ http_file( urls = ["https://github.com/withered-magic/starpls/releases/download/v0.1.21/starpls-linux-amd64"], ) -bazel_dep(name = "score_process_description", version = "2.2.2") +bazel_dep(name = "score_process_description", version = "2.2.3") # Provide the tools from the devcontainer to Bazel bazel_dep(name = "score_devcontainer", version = "1.11.4", dev_dependency = True) diff --git a/MODULE.bazel.lock b/MODULE.bazel.lock index 50e03ef41..1687e7ee0 100644 --- a/MODULE.bazel.lock +++ b/MODULE.bazel.lock @@ -284,8 +284,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.11.4/MODULE.bazel": "0477dcc5d93a6a86f60e34a962c402c77dabc009b591cfc85ae4f76f10ffc089", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_devcontainer/1.11.4/source.json": "09a9b7c65ae2723c25a27f9685ef9d9ea39af6f90323ea236a384e4274637371", - "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process_description/2.2.2/MODULE.bazel": "b0fd319ef2bed02e26307f2336f967d4d4885ab0538c44605a589797d973c803", - "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process_description/2.2.2/source.json": "8b974430c3e2023a7534412e2bc03bced4eef9838f3b573739b7652fd26b335c", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process_description/2.2.3/MODULE.bazel": "4eaa19020111a433bcc4d6a215ea226d137e3e4726df1cf361a4b829af4b6b73", + "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_process_description/2.2.3/source.json": "10792f87fdd0297a8973fd6c749dfb8d096e8b282028c29c4f1171bd412570a4", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_tools/0.0.4/MODULE.bazel": "36cd2ba63acec9de0e0c64d1bfba0eb0c1f3d292c4fd7f3d386e1858bb4a0709", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/score_tools/0.0.4/source.json": "e7dd4b96a5d2afe481cc76e7dd3e24d13bd71b93370508d2ea39e3ce0fa66c22", "https://raw.githubusercontent.com/eclipse-score/bazel_registry/main/modules/stardoc/0.5.1/MODULE.bazel": "not found", diff --git a/docs/internals/requirements/requirements.rst b/docs/internals/requirements/requirements.rst index 108ba7102..98b36395b 100644 --- a/docs/internals/requirements/requirements.rst +++ b/docs/internals/requirements/requirements.rst @@ -835,7 +835,7 @@ Testing :version: 2 :implemented: PARTIAL :parent_covered: YES: Together with tool_req__docs_test_metadata_mandatory_2, tool_req__docs_test_metadata_link_levels - :satisfies: gd_req__verification_checks[version==1] + :satisfies: gd_req__verification_checks[version==2] Docs-as-Code shall ensure that each test case has TestType and DerivationTechnique set. Each may contain multiple comma-separated tags of the following: @@ -852,13 +852,13 @@ Testing - unit, component, feature * - `test_type` - `requirements-based` - - component, feature, platform + - all * - `derivation_technique` - `requirements-analysis` - all * - `derivation_technique` - `boundary-values` - - component, feature, platform + - all * - `derivation_technique` - `equivalence-classes` - all @@ -870,7 +870,7 @@ Testing - all * - `derivation_technique` - `explorative-testing` - - all + - feature, platform See `more verification methods `__ for an overview. @@ -881,7 +881,7 @@ for an overview. :version: 1 :implemented: PARTIAL :parent_covered: YES: Together with tool_req__docs_test_metadata_mandatory_1, tool_req__docs_test_metadata_link_levels - :satisfies: gd_req__verification_checks[version==1] + :satisfies: gd_req__verification_checks[version==2] :status: invalid Docs-as-Code shall ensure that each test case has a non empty description. @@ -891,12 +891,14 @@ for an overview. .. tool_req:: Extract Metadata from Tests :id: tool_req__docs_test_metadata_link_levels :tags: Testing - :version: 2 + :version: 3 :implemented: NO :parent_covered: YES: Together with tool_req__docs_test_metadata_mandatory_1, tool_req__docs_test_metadata_mandatory_2 - :satisfies: gd_req__verification_checks[version==1] + :satisfies: gd_req__verification_checks[version==2] - Docs-as-Code shall ensure that test cases link to requirements on the correct level. + Docs-as-Code shall ensure that test cases use only allowed requirement types for their test level. + Platform Integration Tests shall link to at least one stakeholder requirement. + For other levels, any set verification links shall use the allowed types for that level. The test level is determined from folder structure. .. list-table:: @@ -909,7 +911,7 @@ for an overview. * - `platform_integration_tests/` - Platform - `stkh_req` - * - `score/tests/` + * - `score/tests/` or `feature_integration_tests/` - Feature - `feat`, `feat_req`, `feat_arc_dyn`, `feat_arc_sta`, `mod`, `mod_view_dyn`, `mod_view_sta`, `tool_req` * - `score/.*/tests/` diff --git a/tools/tests/module_verification_reports_test.py b/tools/tests/module_verification_reports_test.py index 46527e690..4c06b7f85 100644 --- a/tools/tests/module_verification_reports_test.py +++ b/tools/tests/module_verification_reports_test.py @@ -512,7 +512,7 @@ def test_local_fake_downstream_runs_the_real_docs_target(tmp_path: Path) -> None 'bazel_dep(name = "aspect_rules_py", version = "1.4.0")\n' 'bazel_dep(name = "buildifier_prebuilt", version = "8.2.0.2")\n' 'bazel_dep(name = "rules_java", version = "8.15.1")\n' - 'bazel_dep(name = "score_process_description", version = "2.1.2")\n' + 'bazel_dep(name = "score_process_description", version = "2.2.3")\n' 'bazel_dep(name = "score_devcontainer", version = "1.11.0")\n' 'bazel_dep(name = "score_docs_as_code", version = "4.6.0")\n', encoding="utf-8",