getappmap / getappmap/appmap-java
Coverage data is generated when the agent is tested
未关闭
还没有人认领这个 Issue。
enhancement
- 主要语言
- Java
- 星标
- 88
- 派生
- 17
- 平均合并
- 2 天 2 小时
- 30 天内合并 PR
- 1
描述
It seems like we might be able to generate some coverage with JaCoCo, but only for the tests run by gradle (i.e. with ./gradlew check integrationTest). This is only a small subset of our tests, of course -- nothing run by bats will generate any coverage.
We may be able to instrument the agent jar using OpenClover, and then configure it when bats runs.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先运行所提到的 Gradle 检查和集成测试,然后检查 bats 如何运行 agent jar。将 ./gradlew check integrationTest 的 JaCoCo 覆盖率与提议的 OpenClover 插桩进行比较。当针对预期的测试路径(包括 bats)生成覆盖率,且不破坏现有测试命令时,即视为完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- build-system, testing
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100