Skip to content

Add rstest crate to parameterize repetitive tests #6070

@moodmosaic

Description

@moodmosaic

for example in testnet/stacks-node/src/tests/signer/v0.rs (e.g. unify the single_miner_empty_sortition and multiple_miners_empty_sortition scenarios).
Details to follow.

https://docs.rs/rstest/latest/rstest/#creating-parametrized-tests

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    Status: ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions