exercism / exercism/rust

Add CI test for manually maintained tests.toml files

未关闭
#2,059 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Rust
星标
1.8k
派生
548
平均合并
13 小时 3 分钟
30 天内合并 PR
2

描述

See [here](https://github.com/exercism/rust/pull/2050#issuecomment-2708942397) for the original idea.

Basically, some exercises don't lend themselves to generating tests based on a template. We still want to be sure that the `tests.toml` produced by `configlet` matches a manually maintained test file. For this purpose, we could have a test that parses the `tests.toml` (using `toml` crate) and checks that for each test, a function named `make_ident(description)` exists in the rust test file.

Some test names may differ, in which case `rust_fn` in `tests.toml` can be used to override `make_ident(description)`.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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