8000 Reusable set of tests · Issue #80 · la10736/rstest · GitHub
[go: up one dir, main page]

Skip to content
Reusable set of tests #80
@la10736

Description

@la10736

Can be useful create a way to make a set of tests reusable. In #66 we observed that this can be done by create a macro that can decorate test functions by the rstest attribute that define all needed cases and values.

Write these macro is tricky and cannot be assumed as general pattern. From rust 1.40 by rust-lang/rust#64035 (comment) we can write a functional macro to generate macros. We can start to write it in rstest crate and then move it in a separate crate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0