File: README.md

package info (click to toggle)
rust-cargo-mutants 25.0.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,452 kB
  • sloc: makefile: 2
file content (12 lines) | stat: -rw-r--r-- 433 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
# `error_value` tree

This tree contains a function that can return an error.
The tests ignore the error case, so would fail to detect
a bug that causes an error to be returned.

(It's probably pretty likely that many Rust tests will `unwrap`
or `?` on the error and so implicitly catch it, but it's still
possible.)

With cargo-mutants `--error` option, we generate a mutant that
returns an error and so catch the missing coverage.