Skip to content

Commit 0163da9

Browse files
Feat: Delete id_contains_feature check & tests
Id_contains_feature check is no longer valid due to changes in the Process that have folder structure rearrangements. The check would now fail in every single repo that will follow the new template of the folder structure. Therefore deleting it.
1 parent e1ec741 commit 0163da9

4 files changed

Lines changed: 0 additions & 124 deletions

File tree

docs/internals/requirements/requirements.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ This section provides an overview of current process requirements and their clar
102102

103103
* A prefix indicating the need type (e.g. `feature__`)
104104
* A middle part matching the hierarchical structure of the need:
105-
* For requirements: a portion of the feature tree or a component acronym
106105
* For architecture elements: the structural element (e.g. a part of the feature tree, component acronym)
107106
* For safety analysis (FMEA, DFA): name of analyzed structural element (e.g. Persistency, FEO, etc.)
108107
* Additional descriptive text to ensure human readability

src/extensions/score_metamodel/BUILD

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -108,17 +108,6 @@ score_pytest(
108108
deps = [":score_metamodel"],
109109
)
110110

111-
score_pytest(
112-
name = "file_based_tests_id_contains_feature",
113-
srcs = ["tests/test_rules_file_based.py"],
114-
data = glob(["tests/rst/id_contains_feature/*.rst"]) + [
115-
"tests/rst/conf.py",
116-
"tests/rst/needs.json",
117-
],
118-
pytest_config = "//:pyproject.toml",
119-
deps = [":score_metamodel"],
120-
)
121-
122111
score_pytest(
123112
name = "file_based_tests_options",
124113
srcs = ["tests/test_rules_file_based.py"],

src/extensions/score_metamodel/checks/id_contains_feature.py

Lines changed: 0 additions & 76 deletions
This file was deleted.

src/extensions/score_metamodel/tests/rst/id_contains_feature/test_id_contains_feature.rst

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)