From 5bfd23925b530da7b9cce36aab9722be6fb44ee5 Mon Sep 17 00:00:00 2001 From: jutty Date: Thu, 23 Apr 2026 17:55:21 -0300 Subject: [PATCH] Add mutation testing to justfile --- .justfile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.justfile b/.justfile index 92e5a80..ac7eb3c 100644 --- a/.justfile +++ b/.justfile @@ -198,6 +198,22 @@ cover-open: alias oo := cover-open +mutate: + -just mutate-single -- --test-threads=1 serial_tests:: + -just mutate-single -- --skip serial_tests:: + +alias m := mutate + +[private] +mutate-single *cargo_test_args: + cargo mutants --iterate \ + -E ' bool' \ + --output target/mutants \ + -- {{ cargo_test_args }} + # Tag HEAD with version from Cargo.toml [script, group: 'assess'] tag commit="HEAD": update