Skip to content

Put generic test cases as TOML, not inside a custom macro #37

@lo48576

Description

@lo48576

Currently, generic test cases are stored as a native Rust value written using a macro.
This prevents auto-formatting and reduces the flexibility and maintainability of the test cases schema.

https://github.com/lo48576/iri-string/blob/bb71787bb920cb1bfdd2d455954b7a2e740a161a/tests/components/mod.rs

They are static data, so they should be stored on some well-known format such as TOML.
It requires additional dev-dependencies (only for testing), but is worth doing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions