-
Notifications
You must be signed in to change notification settings - Fork 24
Add covers flag to meta model to link aou #489
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
FScholPer
wants to merge
11
commits into
main
Choose a base branch
from
add_covers_meta_model
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+125
−0
Open
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
cdde467
add covers Auo flag and documentation
FScholPer 755ccba
added tests
FScholPer addc974
Merge branch 'main' into add_covers_meta_model
FScholPer 131b062
fix test and remove negative tests
FScholPer b788509
Merge branch 'main' into add_covers_meta_model
FScholPer 1e8fc60
removed about from content wording
FScholPer 6bd0f04
Merge branch 'main' into add_covers_meta_model
FScholPer 4eff90a
Merge branch 'main' into add_covers_meta_model
FScholPer 80b7f87
Update docs/internals/requirements/requirements.rst
FScholPer 84e1733
Update src/extensions/score_metamodel/metamodel.yaml
FScholPer 7002180
fixed comments
FScholPer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -26,3 +26,4 @@ __pycache__/ | |
|
|
||
| # bug: This file is created in repo root on test discovery. | ||
| /consumer_test.log | ||
| /.clwb | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
85 changes: 85 additions & 0 deletions
85
src/extensions/score_metamodel/tests/rst/options/test_options_covers_link.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,85 @@ | ||
| .. | ||
| # ******************************************************************************* | ||
| # Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| # | ||
| # See the NOTICE file(s) distributed with this work for additional | ||
| # information regarding copyright ownership. | ||
| # | ||
| # This program and the accompanying materials are made available under the | ||
| # terms of the Apache License Version 2.0 which is available at | ||
| # https://www.apache.org/licenses/LICENSE-2.0 | ||
| # | ||
| # SPDX-License-Identifier: Apache-2.0 | ||
| # ******************************************************************************* | ||
|
|
||
| #CHECK: check_options | ||
|
|
||
| .. Tests that `covers` on feat_req and comp_req only allows aou_req as target. | ||
| .. req-Id: tool_req__docs_req_link_covers_aou | ||
|
|
||
| .. aou_req:: AoU target for covers tests | ||
| :id: aou_req__covers__target | ||
| :reqtype: Functional | ||
| :security: NO | ||
| :safety: QM | ||
| :status: valid | ||
|
|
||
| AoU content used for covers-link validation tests. | ||
|
|
||
|
|
||
| .. stkh_req:: Parent stakeholder requirement for covers tests | ||
| :id: stkh_req__covers__parent | ||
| :reqtype: Functional | ||
| :security: NO | ||
| :safety: QM | ||
| :status: valid | ||
| :rationale: Stakeholder parent rationale for covers-link tests. | ||
|
|
||
|
|
||
| .. feat_req:: Parent feature requirement for covers tests | ||
| :id: feat_req__covers__parent | ||
| :reqtype: Functional | ||
| :security: NO | ||
| :safety: QM | ||
| :status: valid | ||
| :satisfies: stkh_req__covers__parent | ||
|
|
||
| Parent feature requirement used by covers-link tests. | ||
|
|
||
|
|
||
| .. Positive Test: feat_req pointing to an aou_req via covers is valid. | ||
| #EXPECT-NOT: covers | ||
|
|
||
| .. feat_req:: Feature requirement with valid covers link | ||
| :id: feat_req__covers__good_1 | ||
| :reqtype: Functional | ||
| :security: NO | ||
| :safety: QM | ||
| :status: valid | ||
| :satisfies: stkh_req__covers__parent | ||
| :covers: aou_req__covers__target | ||
|
|
||
| Valid feat_req that covers an AoU requirement. | ||
|
|
||
|
|
||
| .. Positive Test: comp_req pointing to an aou_req via covers is valid. | ||
| #EXPECT-NOT: covers | ||
|
|
||
| .. comp_req:: Component requirement with valid covers link | ||
| :id: comp_req__covers__good_1 | ||
| :reqtype: Functional | ||
| :security: NO | ||
| :safety: QM | ||
| :status: valid | ||
| :satisfies: feat_req__covers__parent | ||
| :belongs_to: comp__covers__parent | ||
| :covers: aou_req__covers__target | ||
|
|
||
| Valid comp_req that covers an AoU requirement. | ||
|
|
||
|
|
||
| .. feat:: Feature for covers tests | ||
| :id: feat__covers__parent | ||
| :security: NO | ||
| :safety: QM | ||
| :status: valid |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.