You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mutation testing highlighted there might be missing unit tests for handle_pox_cycle_start_pox_2 but there needs to be created a default for StacksTransactionEvent to check it.
The steps for making sure the handle_pox_cycle_start_pox_2 function has its possible outcomes caught are:
create default for StacksTransactionEvent
remove the skip header #[cfg_attr(test, mutants::skip)]
check if mutation tests are caught for these cases:
run
RUST_BACKTRACE=1 BITCOIND_TEST=1 cargo mutants -vV -F "replace StacksChainState::handle_pox_cycle_start_pox_2" -E ": replace .{1,2} with .{1,2} in " --baseline=skip --test-tool=nextest -- --run-ignored all --no-fail-fast --test-threads 1
Ok(vec![Default::default()])
create tests if they aren't caught
Same flow for:
handle_pox_cycle_start_pox_3
handle_pox_cycle_start_pox_4
handle_pox_cycle_missed_unlocks.
The text was updated successfully, but these errors were encountered:
Related #4587
The mutation testing highlighted there might be missing unit tests for
handle_pox_cycle_start_pox_2
but there needs to be created a default forStacksTransactionEvent
to check it.The steps for making sure the
handle_pox_cycle_start_pox_2
function has its possible outcomes caught are:StacksTransactionEvent
#[cfg_attr(test, mutants::skip)]
Same flow for:
handle_pox_cycle_start_pox_3
handle_pox_cycle_start_pox_4
handle_pox_cycle_missed_unlocks
.The text was updated successfully, but these errors were encountered: