Skip to content

FR: cargo insta test should accept the --test option more than once #437

@ilyagr

Description

@ilyagr

Currently, this results in an error:

$  cargo insta --version
cargo-insta 1.34.0
$ cargo insta test --test-runner nextest --workspace --test test_generate_md_cli_help --test qq
error: The argument '--test <test>' was provided more than once, but cannot be used multiple times

USAGE:
    cargo insta test --test <test> --test-runner <test-runner> --unreferenced <unreferenced> --workspace

For more information try --help

I checked that cargo test and cargo nextest run do accept multiple --test

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions