tests/testthat/_snaps/muttest.md

session with ProgressReporter prints results

Code
  print(p)
Output
  -- Mutation Test Plan ----------------------------------------------------------
  2 mutants across 1 file

  R/shipping.R  > → <
  R/shipping.R  > → >=
Code
  print(result)
Output

  -- Results ---------------------------------------------------------------------
  [ KILLED 1 | SURVIVED 1 | ERRORS 0 | TOTAL 2 | SCORE 50.0% ]

  -- Survived Mutants ------------------------------------------------------------
  shipping.R  > → >=
    2-   if (weight_kg > 5) 15.00 else 5.00
    2+   if (weight_kg >= 5) 15.00 else 5.00


Try the muttest package in your browser

Any scripts or data that you put into this service are public.

muttest documentation built on May 14, 2026, 5:10 p.m.