exercism / exercism/java-analyzer
Document guidelines on testing
未关闭
还没有人认领这个 Issue。
- 主要语言
- Java
- 星标
- 13
- 派生
- 27
- 平均合并
- 4 天 17 小时
- 30 天内合并 PR
- 7
描述
I think we should come up with some guidelines on how analyzers should be tested. My proposal would be:
- Unit tests should exist to obtain as much code coverage as possible. Correctness of each exercise analyzer should be tested that way.
- Each exercise should have at least two smoke tests: one with an optimal solution that receives no feedback, and one with a solution that receives at least one exercise-specific comment.
- Next to that, a few smoke tests to cover exercises for which no analyzer is implemented should be present too, to make sure the analyzer works properly for every exercise. By that I mean that it shouldn't crash or something.
Once we come up with some concrete guidelines, we should probably write them down in the docs.
Originally posted by @sanderploegsma in https://github.com/exercism/java-analyzer/issues/122#issuecomment-1924524027
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先审阅从 issue #122 复制的提案,并检查现有的 analyzer 单元测试和 smoke 测试,以确定当前的覆盖范围和约定。为已分析和未分析的练习定义具体的测试指南,记录这些指南,并验证这些指南与 repository 中现有的测试一致。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- java
- 领域
- documentation, testing-qa
- Issue 类型
- 文档
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100