You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
See here 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 byconfiglet
matches a manually maintained test file. For this purpose, we could have a test that parses thetests.toml
(usingtoml
crate) and checks that for each test, a function namedmake_ident(description)
exists in the rust test file.Some test names may differ, in which case
rust_fn
intests.toml
can be used to overridemake_ident(description)
.The text was updated successfully, but these errors were encountered: