Commit Graph

8 Commits

Author SHA1 Message Date
Jamil Lambert, PhD b538a10956
Add deprecated functions to mutants exclude list
New mutants found in deprecated functions in the weekly mutation
testing.

Add the deprecated functions to the exclude list so they are not
mutated.
2025-05-20 16:07:03 +01:00
Jamil Lambert, PhD 055ab7e684
Remove impl Display from mutants exclusion list
The output of Display should not change in stable crates for types that
have well defined formatting and ones that implement FromStr.
Crates that are included in the mutation testing have been updated to
test all relevant Display implementations.

Remove the exclusion so that the Display implementations are included in
mutation testing.
2025-04-30 17:26:40 +01:00
Jamil Lambert, PhD 3bcb5b0f8d
Add exclusions for match arm/guard mutants
cargo-mutants 25.0.1  introduced a new mutation pattern that deletes an
arm of a match statement or replaces a match guard with true and false.
These are applied in sections that have been excluded from mutation
testing and cause false positives.
The match patterns are also now stricter causing previously excluded
`impl` to be included.

Exclude the new match arm and guard mutation patterns.

Add `impl fmt::` versions for Debug and Display.
2025-04-29 11:23:02 +01:00
Jamil Lambert, PhD f15e461baf
Add an exclusion for a mutant in a deprecated fn
Weekly mutation testing found a mutant in a deprecated function in
SignedAmount.

Exclude the function from mutation testing.
2025-03-26 09:50:50 +00:00
Jamil Lambert, PhD 44df39e72c
Skip deprecated functions in mutants.toml
Cargo mutants found mutants in `fee_vb` and `fee_wu`.

Both functions are deprecated.  Skip them in mutant testing.
2025-02-13 18:03:56 +00:00
Jamil Lambert, PhD 3c12d4eb1f
Add primitives to mutants.toml
Add exceptions for `primitives` to `mutants.toml`.

Add `primitives` to the list of paths to run cargo mutants on.
2025-02-11 18:32:37 +00:00
Jamil Lambert, PhD 32b05132b5
Reorganize mutants.toml
Generalize `deserialize` as an exception for everywhere.

Reword comment to make clearer
2025-02-11 18:23:47 +00:00
Shing Him Ng 462c7a1130 Add weekly cargo-mutants workflow 2025-01-21 17:01:27 -06:00