Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ilyagr opened this issue Feb 1, 2024 · 0 comments
Closed

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

ilyagr opened this issue Feb 1, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@ilyagr
Copy link

ilyagr commented Feb 1, 2024

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

@mitsuhiko mitsuhiko added the enhancement New feature or request label Feb 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants