Skip to content

Adds record_property in tests for req traceability - #276

Open
rmaddikery wants to merge 3 commits into
mainfrom
rama_adds_test_link
Open

Adds record_property in tests for req traceability#276
rmaddikery wants to merge 3 commits into
mainfrom
rama_adds_test_link

Conversation

@rmaddikery

@rmaddikery rmaddikery commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Notes for Reviewer

Stats updated based on the links: https://eclipse-score.github.io/logging/pr-276/verification_report/stats.html

NOTE: We still need to cleanup the existing entries (legacy since those were from an internal codebase), but that will be part of the future release after we migrate entirely to score.

Pre-Review Checklist for the PR Author

  • PR title is short, expressive and meaningful
  • Commits are properly organized
  • Relevant issues are linked in the References section
  • Tests are conducted
  • Unit tests are added

Checklist for the PR Reviewer

  • Commits are properly organized and messages are according to the guideline
  • Unit tests have been written for new behavior
  • Public API is documented
  • PR title describes the changes

Post-review Checklist for the PR Author

  • All open points are addressed and tracked via issues

References

Closes #

@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

License Check Results

🚀 The license check job ran with the Bazel command:

bazel run --lockfile_mode=error //:license-check

Status: ⚠️ Needs Review

Click to expand output
[License Check Output]
Extracting Bazel installation...
Starting local Bazel server (8.6.0) and connecting to it...
INFO: Invocation ID: 1c2ac2d4-8d66-4274-b5be-114791f392a3
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Computing main repo mapping: 
Loading: 
Loading: 4 packages loaded
WARNING: Target pattern parsing failed.
ERROR: Skipping '//:license-check': no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/logging/logging/BUILD
ERROR: no such target '//:license-check': target 'license-check' not declared in package '' defined by /home/runner/work/logging/logging/BUILD
INFO: Elapsed time: 17.936s
INFO: 0 processes.
ERROR: Build did NOT complete successfully
ERROR: Build failed. Not running target

@github-actions

Copy link
Copy Markdown

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

@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from a3780a2 to 86c4f51 Compare August 25, 2026 16:36
@rmaddikery
rmaddikery deployed to workflow-approval August 25, 2026 16:36 — with GitHub Actions Active
@pawelrutkaq

Copy link
Copy Markdown
Contributor

I pinged @PiotrKorkus as he is testing lead, he will have a look

:derived_from: feat_req__logging__compat_dlt, feat_req__logging__log_sinks_network
:status: valid
:satisfied_by: comp__datarouter
:testlink: https://github.com/eclipse-score/logging/blob/main/score/datarouter/test/ut/ut_logging/test_dltserver.cpp#L150

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.

testlinks have to be autogenerated from .xml test reports based on properties filled in test
https://eclipse-score.github.io/process_description//main/process_areas/verification/guidance/verification_templates.html

@rmaddikery rmaddikery Aug 26, 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.

Hi @PiotrKorkus Since we have not entirely migrated to score and still relying on the exports from internal base, we cannot make changes to the sources here. In that regard, the test links here are references for later adaptations. I can create a follow-up task to track that. Works for you?

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.

this testlink is not valid as it doesnt bring all the information about pass/fail from the test. I dont see any benefit of having such a placeholder.

@rmaddikery rmaddikery Aug 26, 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.

Thanks for the feedback

@rmaddikery rmaddikery Aug 26, 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.

@PiotrKorkus i see the build docs actually generates the stats from the test artifacts. I will wire it to what has already been linked to so that we do not lose that trace.

@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from 86c4f51 to 8b2686d Compare August 26, 2026 06:39
@rmaddikery rmaddikery closed this Aug 26, 2026
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LOG - Logging FT Aug 26, 2026
@rmaddikery rmaddikery reopened this Aug 26, 2026
@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from 8b2686d to 1fb471f Compare August 26, 2026 14:37
@rmaddikery
rmaddikery requested a review from 4og as a code owner August 26, 2026 14:37
@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from 1fb471f to 638fffa Compare August 26, 2026 14:38
@rmaddikery
rmaddikery deployed to workflow-approval August 26, 2026 14:38 — with GitHub Actions Active
@rmaddikery rmaddikery changed the title Adds test link to requirements Adds record_property in unit tests for req traceability Aug 26, 2026
@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from 638fffa to 8b43521 Compare August 26, 2026 14:55
@rmaddikery rmaddikery changed the title Adds record_property in unit tests for req traceability Adds record_property in tests for req traceability Aug 26, 2026
Comment on lines +95 to +98
RecordProperty("FullyVerifies", "comp_req__data_router__dlt_multiple_channels");
RecordProperty("Description", "Check that a DLT log channel can be constructed with default parameters.");
RecordProperty("TestType", "requirements-based");
RecordProperty("DerivationTechnique", "requirements-analysis");

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.

Component requirements should be verified by Component Integration Tests not Unit Tests

@rmaddikery rmaddikery Aug 27, 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.

true a unit does not cover it entirely, thanks

TOTAL_NONVERBOSE_MESSAGES = 11


def test_datarouter_filters(target, datarouter_on_target, dlt_capture):

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.

@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from 9ce3033 to eef4334 Compare August 27, 2026 07:36
@rmaddikery
rmaddikery deployed to workflow-approval August 27, 2026 07:36 — with GitHub Actions Active
@rmaddikery
rmaddikery force-pushed the rama_adds_test_link branch from eef4334 to 73405ee Compare August 27, 2026 08:31
@rmaddikery
rmaddikery deployed to workflow-approval August 27, 2026 08:31 — with GitHub Actions Active
- Helps identifying gaps in the module
- Extend to inlcude all deps after other
repos have fixed covrage as well
- for traceability of requirements
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants