packs test: options that fail the run below a stated coverage or on an unprobed boundary

未关闭
#388 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
57/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go
领域
cli, testing

调研方向

Start by locating the packs test command, its matrix coverage report, derived boundary probes, and the tests that verify its exit status and JSON output. Add tests for each requested option at, above, and below the stated level, plus the unwitnessed-probe case. Done means the options enforce their requirements and report failures in JSON, while runs without them keep the existing output and exit status.

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

描述

enhancement

Observed. jpack packs test prints the matrix coverage report and the derived boundary probes, and neither changes the exit status: with a passing matrix and unwitnessed probes the command exits 0. A build cannot require a coverage level.

Ask. Opt-in options on packs test that make the run fail when coverage is below a stated level and when a derived boundary probe has no witnessing row. Without the options the behaviour and the output are unchanged. The JSON output says which requirement failed.

Acceptance. Tests for each option at, above and below the level; unchanged output and exit status without them.

主要语言
Go
星标
2
派生
6
平均合并
2 小时 1 分钟
30 天内合并 PR
69

环境准备

从这里开始

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

Judgment-Pack/judgment-pack-runtime 的其他 Issue

查看 Judgment-Pack/judgment-pack-runtime 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

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