Skip to content

Add CI test for manually maintained tests.toml files #2059

Open
@senekor

Description

@senekor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions