|
1 | 1 | additional_cargo_args = ["--all-features"] |
2 | 2 | gitignore = true |
3 | | -examine_globs = [ |
4 | | - "payjoin/src/**/*.rs" |
5 | | -] |
6 | | -exclude_globs = [ |
7 | | -] |
| 3 | +examine_globs = ["payjoin/src/**/*.rs"] |
| 4 | +exclude_globs = [] |
8 | 5 | exclude_re = [ |
9 | | - "impl\\s+(std::fmt::|core::fmt::|fmt::)?(Display|Debug)", |
10 | | - "deserialize", |
11 | | - "Iterator", |
12 | | - ".*Error", |
| 6 | + "impl\\s+(std::fmt::|core::fmt::|fmt::)?(Display|Debug)", |
| 7 | + "deserialize", |
| 8 | + "Iterator", |
| 9 | + ".*Error", |
13 | 10 |
|
14 | | - # ---------------------Crate-specific exclusions --------------------- |
15 | | - # Timeout loops |
16 | | - # src/receive/v1/mod.rs |
17 | | - "interleave_shuffle", # Replacing index += 1 with index *= 1 in a loop causes a timeout due to an infinite loop |
| 11 | + # ---------------------Crate-specific exclusions --------------------- |
| 12 | + # Timeout loops |
| 13 | + # src/receive/v1/mod.rs |
| 14 | + "interleave_shuffle", # Replacing index += 1 with index *= 1 in a loop causes a timeout due to an infinite loop |
18 | 15 |
|
19 | | - # Trivial mutations |
20 | | - # These exclusions are allowing code blocks to run with arithmetic involving zero and as a result are no-ops |
21 | | - # payjoin/src/core/send/mod.rs |
22 | | - "replace < with <= in PsbtContext::check_outputs", |
23 | | - "replace > with >= in PsbtContext::check_fees", |
24 | | - # payjoin/src/core/send/mod.rs |
25 | | - "replace < with <= in PsbtContextBuilder::build_recommended", # clamping the fee contribution when the fee equals to the recommended fee does not do anything |
26 | | - # payjoin/src/core/receive/v2/mod.rs |
27 | | - "payjoin/src/core/receive/v2.mod.*replace \\* with [+/]$", # This targets mutations on the static TWENTY_FOUR_HOURS_DEFAULT_EXPIRATION that is not particularly useful to test for |
| 16 | + # Trivial mutations |
| 17 | + # These exclusions are allowing code blocks to run with arithmetic involving zero and as a result are no-ops |
| 18 | + # payjoin/src/core/send/mod.rs |
| 19 | + "replace < with <= in PsbtContext::check_outputs", |
| 20 | + "replace > with >= in PsbtContext::check_fees", |
| 21 | + # payjoin/src/core/send/mod.rs |
| 22 | + "replace < with <= in PsbtContextBuilder::build_recommended", # clamping the fee contribution when the fee equals to the recommended fee does not do anything |
| 23 | + # payjoin/src/core/receive/v2/mod.rs |
| 24 | + "payjoin/src/core/receive/v2.mod.*replace \\* with [+/]$", # This targets mutations on the static TWENTY_FOUR_HOURS_DEFAULT_EXPIRATION that is not particularly useful to test for |
28 | 25 |
|
29 | | - # TODO exclusions |
30 | | - # payjoin/src/core/receive/v1/mod.rs |
31 | | - "replace > with >= in WantsInputs::avoid_uih", # This mutation I am unsure about whether or not it is a trivial mutant and have not decided on how the best way to approach testing it is |
32 | | - # payjoin/src/core/send/mod.rs |
33 | | - "replace match guard proposed_txout.script_pubkey == original_output.script_pubkey with true in PsbtContext::check_outputs", # This non-deterministic mutation has a possible test to catch it |
34 | | - # These will be removed following #1123 |
35 | | - # payjoin/src/core/send/v2/session.rs |
36 | | - "SessionHistory::terminal_error", |
| 26 | + # TODO exclusions |
| 27 | + # payjoin/src/core/receive/v1/mod.rs |
| 28 | + "replace > with >= in WantsInputs::avoid_uih", # This mutation I am unsure about whether or not it is a trivial mutant and have not decided on how the best way to approach testing it is |
| 29 | + # payjoin/src/core/send/mod.rs |
| 30 | + "replace match guard proposed_txout.script_pubkey == original_output.script_pubkey with true in PsbtContext::check_outputs", # This non-deterministic mutation has a possible test to catch it |
| 31 | + # These will be removed following #1123 |
| 32 | + # payjoin/src/core/send/v2/session.rs |
| 33 | + "SessionHistory::terminal_error", |
37 | 34 | ] |
0 commit comments