Skip to content

test: missing attribute tests - #848

Merged
AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
etas-contrib:test-attribute-checks
Sep 22, 2026
Merged

AlexanderLanin merged 1 commit into
eclipse-score:mainfrom
etas-contrib:test-attribute-checks

Conversation

@a-zw

@a-zw a-zw commented Sep 22, 2026

Copy link
Copy Markdown
Contributor

📌 Description

Improving tool qualification.

🚨 Impact Analysis

  • This change does not violate any tool requirements and is covered by existing tool requirements
  • This change does not violate any design decisions
  • Otherwise I have created a ticket for new tool qualification

✅ Checklist

  • Added/updated documentation for new or changed features
  • Added/updated tests to cover the changes
  • Followed project coding standards and guidelines

@github-actions

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-848: https://eclipse-score.github.io/docs-as-code/pr-848/

Tests that a versioning attribute is mandatory for all needs and that it
accepts whole numbers.

Partial because "rejects non-whole numbers" cannot be tested with this rst-file approach.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Really? Would this not be a metamodel error if it's non whole number? Cause the regex?

@a-zw a-zw Sep 22, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

The problem is that this is not a metamodel warning but a sphinx-needs warning. Example:

requirements.rst:205: WARNING: Need could not be created: Field 'version' is invalid: Cannot convert '1.3' to integer [needs.create_need]

@AlexanderLanin
AlexanderLanin merged commit 947ed8c into eclipse-score:main Sep 22, 2026
22 checks passed
@AlexanderLanin
AlexanderLanin deleted the test-attribute-checks branch September 22, 2026 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

3 participants