exercism / exercism/rust

Add CI test for manually maintained tests.toml files

オープン
#2,059 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る
主要言語
Rust
スター
1.8k
フォーク
548
平均マージ
13時間 3分
マージ済み PR(30日)
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 を短くまとめたダイジェスト。