sixty-north / cosmic-ray

Mutation testing for Python
MIT License
556 stars 54 forks source link

cr-rate: don't crash with no executed and --estimate specified #545

Closed tomato42 closed 5 months ago

tomato42 commented 5 months ago

When using the cr-rate in CI, and running tests only for the changed lines, when a PR changes only documentation, the cr-rate tool will crash when it's used with the --estimate option.

This fixes the issue.

abingham commented 5 months ago

Thanks!