Skip to content

Explicit option for test args #536

@sourcefrog

Description

@sourcefrog

Split from #505:

Today you can pass arguments to the test runner with cargo mutants -- --extra-test-args.

It might be nice to also have an explicit option for this, e.g. cargo mutants --cargo-test-arg=--max-fail=2.

    /// Pass remaining arguments to cargo test after all options and after `--`.
    #[arg(last = true, help_heading = "Execution")]
    cargo_test_args: Vec<String>,

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