Using `generate-test-file` to update an existing test suite?

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
shell
领域
cli, tooling

调研方向

从 ./bin/generate-test-file 开始,检查它如何读取 problem-specifications 仓库和本地 tests.toml。验证对 include = false 的测试的预期处理方式,包括更新现有 suite 时的情况;当被排除的测试不会生成,同时其他测试仍可供新建和现有的 suite 使用时,即表示完成。

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

描述

Is ./bin/generate-test-file intended only for use in creating new exercises or for updating existing exercise test suites as well? It's pulling from the problem-specifications repository, but notably, it doesn't check the local tests.toml file so it ends up generating all tests. That's a problem because new tests can be introduced to replace existing previous tests. A maintainer may also decide not to include a particular test. In either case, include = false should be honored if present underneath a given test and that test skipped. That'd make maintenance a lot simpler since you could use the same script to generate new test suites or update existing ones.

主要语言
Shell
星标
2
派生
9
平均合并
2 小时 24 分钟
30 天内合并 PR
3

环境准备

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

从这里开始

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

exercism/yamlscript 的其他 Issue

查看 exercism/yamlscript 的全部 Issue

相似的 Issue

更多 Shell/Bash Issue

把新 issue 发到你的邮箱

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