Skip to content

tooling: Integrate standards charts and Correct tests for checks - #550

Merged
AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
Aymen-Soussi-01:Aymen-Soussi-01-fix-tests-and-integrate-standards-charts
Mar 3, 2025
Merged

AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
Aymen-Soussi-01:Aymen-Soussi-01-fix-tests-and-integrate-standards-charts

Conversation

@Aymen-Soussi-01

@Aymen-Soussi-01 Aymen-Soussi-01 commented Mar 3, 2025 •

Copy link
Copy Markdown
Contributor

Integrate the standards charts in the documentation and correct format of the tests for checks as import of metamodel.

Also-by: Aymen Soussi aymen.soussi@expleogroup.com

Related to: #521

@github-actions

github-actions Bot commented Mar 3, 2025

Copy link
Copy Markdown
Contributor

The created documentation from the pull request is available at: docu-html

Integrate the standards charts in the documentation and correct format of the tests for checks as import of metamodel.

Also-by: Aymen Soussi aymen.soussi@expleogroup.com
@Aymen-Soussi-01
Aymen-Soussi-01 force-pushed the Aymen-Soussi-01-fix-tests-and-integrate-standards-charts branch from 580e5e1 to 169abf7 Compare March 3, 2025 15:36

@AlexanderLanin AlexanderLanin left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think all 3 findings need to be followed up on. But let's merge this as-is, as it is an improvement as-is.

@@ -27,7 +27,14 @@ def get_standards_needs(needs: list[NeedsInfoType]) -> dict:
return {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we have a dedicated type, don't we? Something like .. standard-req::. So why do we need to differentiate by id at all?

Comment on lines +137 to +139
app = Mock(spec=Sphinx)
app.config = Mock()
app.config.needs_types = self.NEED_TYPE_INFO

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need a better testing interface. But that's out of scope of this PR.

:labels: Connected Requirements, Not Connected Requirements
:legend:
:colors: green, red
:filter-func: _tooling.extensions.score_metamodel.checks.standards.my_pie_linked_standard_requirements

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sound like this should not be in score_metamodel. Definitely not in checks.

@AlexanderLanin
AlexanderLanin merged commit a5386e0 into eclipse-score:main Mar 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants