mutmut icon indicating copy to clipboard operation
mutmut copied to clipboard

junitxml report support

Open dmashine opened this issue 1 year ago • 3 comments

https://github.com/boxed/mutmut/blob/cb78ed2e666bcc2778ab38352be013fbe1028e10/mutmut/main.py#L1522 Hello! Pls add back option to have a junitxml report in new version. Thank you!

dmashine avatar Nov 14 '24 07:11 dmashine

It wasn't a lot of code before, so it is probably easy to do. I personally don't use this feature (and kinda think it's a bad idea/useless), so I think someone else needs to do the work for this.

boxed avatar Nov 14 '24 07:11 boxed

It is very, very useful in a CI/CD environment!

dmashine avatar Nov 14 '24 07:11 dmashine

I think running mutmut in CI is a bad idea itself. Mutmut is a tool to improve your tests. It's also way too expensive to run over and over again just to produce a report that people don't look at. If you care about your tests you should run mutmut on your machine when developing.

I've had this argument many times over the years. I am never convinced by the arguments to run it on some machine far away. I will accept PRs, but I will also keep saying it's stupid until someone can convince me it's a reasonable idea.

boxed avatar Nov 14 '24 08:11 boxed