Skip to content

Coverage for lifecycle_client [2/N]: Add unit tests for report_running_impl.cpp - #757

Merged
MaciejKaszynski merged 12 commits into
eclipse-score:mainfrom
etas-contrib:feature/lifecycle_client_coverage_2
Oct 13, 2026
Merged

MaciejKaszynski merged 12 commits into
eclipse-score:mainfrom
etas-contrib:feature/lifecycle_client_coverage_2

Conversation

@cameron-craig-etas

Copy link
Copy Markdown
Contributor

#686

  • This PR introduces unit test for report_running_impl.cpp.
  • We make use of the existing syscall mocks
  • 100% code coverage has been reached for this file.
  • These test use the suggested Given...Expected...When...Then pattern.
image

@github-actions

github-actions Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

Documentation preview for this pull request is available at:
pr-757: https://eclipse-score.github.io/lifecycle/pr-757/

Comment thread score/launch_manager/src/lifecycle_client/src/details/BUILD Outdated
Comment thread tests/utils/accessors/BUILD
Comment thread score/launch_manager/src/lifecycle_client/src/details/report_running_impl_UT.cpp Outdated
@cameron-craig-etas
cameron-craig-etas force-pushed the feature/lifecycle_client_coverage_2 branch from dfdd38c to 4a3532a Compare October 8, 2026 09:14
@cameron-craig-etas
cameron-craig-etas force-pushed the feature/lifecycle_client_coverage_2 branch from 4a3532a to 934ce93 Compare October 9, 2026 09:42

@MaciejKaszynski MaciejKaszynski left a comment

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.

looks good just should delete the unused accessor

@MaciejKaszynski
MaciejKaszynski added this pull request to the merge queue Oct 13, 2026
Merged via the queue into eclipse-score:main with commit 51d3b1c Oct 13, 2026
12 of 16 checks passed
@MaciejKaszynski
MaciejKaszynski deleted the feature/lifecycle_client_coverage_2 branch October 13, 2026 07:26
@github-project-automation github-project-automation Bot moved this from Backlog to Done in LCM - Lifecycle & Health FT Oct 13, 2026

This branch is waiting to be deployed

1 waiting deployment
workflow-approval — fe000e3b Waiting Oct 12, 2026 by cameron-craig-etas via Build and test x86_64-qnx / approval #1383
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.

2 participants