Skip to content

Add flag to consider timeouts as "caught" #545

@sanbox-irl

Description

@sanbox-irl

Hi there,

For my testing purposes, a timeout of a test is often the equivalent of a "caught" bug. This is true when I run cargo test (if it hangs indefinitely, I do not consider that a success). I respect that not everyone agrees with that, but I'd be nice to have cargo-mutants have an ability to agree.

I believe I could do the equivalent of this by simply checking for exit code 3, but I'd also like the UI to assume that any test caught by the timeout operation is a failed test.

What do you think?

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