mutmut icon indicating copy to clipboard operation
mutmut copied to clipboard

Display results with diff / show-all

Open blueyed opened this issue 6 years ago • 6 comments

To get an overview mutmut show-all would be useful, which would basically be mutmut results with mutmut show for each result.

mutmut results -v might be good for this, but when looking into it (the source) I've noticed that it is still not using click properly.. ;)

blueyed avatar Mar 27 '19 18:03 blueyed

I've thought about doing mutmut show all but it's only really useful if you have a very small number of mutants.

I've noticed that it is still not using click properly.. ;)

Yea, I gave it a shot once and I couldn't get it to work, so I punted on it.

boxed avatar Mar 28 '19 12:03 boxed

I've thought about doing mutmut show all but it's only really useful if you have a very small number of mutants.

Not really - even with a long list, it is useful for an overview etc (you can pipe it to less etc).

blueyed avatar Mar 28 '19 12:03 blueyed

Well ok then.. I'll add a warning though that the way mutmut produces diffs is super slow, so if you have lots of mutants it might not be very fun to do this :P

boxed avatar Mar 28 '19 14:03 boxed

Just tried this on a project at work, the trivial implementation took 46 seconds for 181 mutants. I'd be nice to optimize that at some point :P

boxed avatar Mar 29 '19 14:03 boxed

Added mutmut show all path/to/file.py because I wanted it :)

boxed avatar Mar 29 '19 14:03 boxed

This option needs to be documents.

ryanfreckleton avatar Oct 23 '19 02:10 ryanfreckleton