exercism / exercism/rust

Add CI test for manually maintained tests.toml files

Đang mở
#2,059 2 bình luận 1 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
1.8k
Fork
548
Merge trung bình
13 giờ 3 phút
Pull request đã merge (30 ngày)
2

Mô tả

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)`.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.