Fully verify comp_req__health_monitor__time_range_bounds (Inclusive time range bounds)

未关闭 适合新手
#1,242 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
68/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
cpp

调研方向

从链接的 DeadlineMonitorImplTest 和 HeartbeatMonitorImplTest 用例开始,然后检查 Health Monitor 要求以及这些测试所覆盖的实现。检查链接的测试中缺少哪些包含边界场景,并为它们补充测试覆盖。测试能够验证恰好等于最小值和最大值的报告均会被接受,即为完成。

由索引模型根据 Issue 内容生成。

描述

Verification gap (Only partially tested): The linked tests only partially verify this requirement.

Field Value
Item comp_req__health_monitor__time_range_bounds
Title Inclusive time range bounds
Component Health Monitor (comp__health_monitor)
Safety ASIL_B
Status valid

Linked tests: DeadlineMonitorImplTest__StopInsideTheRangePasses (passed), DeadlineMonitorImplTest__StopAtExactlyTheMinimumPasses (passed), DeadlineMonitorImplTest__StopAtTheStartPassesForAZeroMinimum (passed), DeadlineMonitorImplTest__StopAtExactlyTheMaximumPasses (passed), HeartbeatMonitorImplTest__HeartbeatAtRangeMinIsAccepted (passed), HeartbeatMonitorImplTest__HeartbeatAtRangeMaxIsAccepted (passed), HeartbeatMonitorImplTest__HeartbeatBeforeRangeIsTooEarly (passed), HeartbeatMonitorImplTest__HeartbeatAfterRangeIsTooLate (passed), HeartbeatMonitorImplTest__MissingHeartbeatIsAcceptedUntilRangeMax (passed)

Requirement text (from the documentation):

The :term:`Health Monitor` shall treat the minimum and the maximum of a time
range as inclusive bounds.

.. note:: A report exactly at the minimum or exactly at the maximum is not
detected as a failure.

Found in the module verification report of eclipse-score/lifecycle.

主要语言
C++
星标
9
派生
41
平均合并
2 天 20 小时
30 天内合并 PR
155

环境准备

在 Codespaces 中打开

在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 没有贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

eclipse-score/lifecycle 的其他 Issue

查看 eclipse-score/lifecycle 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。