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

mutmut show --all flag #298

Open
l0b0 opened this issue Dec 19, 2023 · 0 comments
Open

mutmut show --all flag #298

l0b0 opened this issue Dec 19, 2023 · 0 comments

Comments

@l0b0
Copy link

l0b0 commented Dec 19, 2023

It would be useful to have some way to show all the mutants generated by mutmut, to get an idea for what has been tried during a run. Doing this manually seems like it would be a chore:

for class in survived killed timeout suspicious skipped untested; do
    for id in $(mutmut result-ids "$class"); do
        mutmut show "$id"
    done
done

Another useful variant would be to have flags for each of the classes, such as mutmut show --survived showing all surviving mutations.

@l0b0 l0b0 changed the title mutmut show --all mutmut show --all flag Dec 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant