mutant
mutant copied to clipboard
Add `runtime_warning` coverage condition
Or fix rspec / minitest to error on warnings.
With this option enabled any warnings will cause no-op tests to fail (so that all mutations aren't killed because the code already had a warning) and accepts warnings introduced by a mutation as a kill. This is helpful for cases where mutant discovers a deprecated API, etc.