Package: muttest 0.2.0

muttest: Mutation Testing

Measure quality of your tests. 'muttest' introduces small changes (mutations) to your code and runs your tests to check if they catch the changes. If they do, your tests are good. If not, your assertions are not specific enough. 'muttest' gives you percent score of how often your tests catch the changes.

Authors:Jakub Sobolewski [aut, cre]

muttest_0.2.0.tar.gz
muttest_0.2.0.zip(r-4.7)muttest_0.2.0.zip(r-4.6)muttest_0.2.0.zip(r-4.5)
muttest_0.2.0.tgz(r-4.6-any)muttest_0.2.0.tgz(r-4.5-any)
muttest_0.2.0.tar.gz(r-4.7-any)muttest_0.2.0.tar.gz(r-4.6-any)
muttest_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
muttest/json (API)
NEWS

# Install 'muttest' in R:
install.packages('muttest', repos = c('https://jakubsob.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/jakubsob/muttest/issues

Pkgdown/docs site:https://jakubsobolewski.com

On CRAN:

Conda:

mutation-testingtestingtesting-toolstestthat

6.24 score 23 stars 2 scripts 530 downloads 37 exports 30 dependencies

Last updated from:b35a34fd32. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64OK170
source / vignettesOK243
linux-release-x86_64OK159
macos-release-arm64OK162
macos-oldrel-arm64OK217
windows-develOK140
windows-releaseOK93
windows-oldrelOK95
wasm-releaseOK112

Exports:arithmetic_operatorsboolean_literalboolean_literalscall_namecomparison_operatorscondition_mutationsCopyStrategydefault_copy_strategydefault_reporterdefault_test_strategydelete_statementFileTestStrategyFullTestStrategyindex_decrementindex_incrementindex_mutationslogical_operatorsMutationReporterMutatormuttestmuttest_planna_literalna_literalsnegate_conditionnumeric_decrementnumeric_incrementnumeric_literalsoperatorPackageCopyStrategyProgressMutationReporterremove_condition_negationremove_negationreplace_return_valuestring_emptystring_fillstring_literalsTestStrategy

Dependencies:backportsbriocallrcheckmateclicrayondescdiffobjevaluatefsgluejsonlitelifecyclemagrittrmirainanonextpkgbuildpkgloadpraiseprocessxpsR6rlangrprojroottestthattreesittertreesitter.rvctrswaldowithr

Getting Started with muttest

Rendered fromgetting-started.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2026-05-14
Started: 2026-05-06

Mutator Reference and Choosing the Right Mutators

Rendered frommutators.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2026-05-14
Started: 2026-05-06

Reading mutation results and strengthening tests

Rendered frominterpreting-results.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2026-05-14
Started: 2026-05-06

Running muttest in CI

Rendered fromci-integration.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2026-05-14
Started: 2026-05-06

What is Mutation Testing and Why Does it Matter?

Rendered frommutation-testing-101.Rmdusingknitr::rmarkdownon May 14 2026.

Last update: 2026-05-14
Started: 2026-05-06

Readme and manuals

Help Manual

Help pageTopics
Arithmetic operator mutatorsarithmetic_operators
Mutate a boolean literalboolean_literal
Boolean literal mutatorsboolean_literals
Mutate a function call namecall_name
Comparison operator mutatorscomparison_operators
Condition mutation mutatorscondition_mutations
CopyStrategy interfaceCopyStrategy
Create a default project copy strategydefault_copy_strategy
Create a default reporterdefault_reporter
Create a default run strategydefault_test_strategy
Delete statements one at a timedelete_statement
Run tests matching the mutated source file nameFileTestStrategy
Run all tests for a mutantFullTestStrategy
Decrement subscript indicesindex_decrement
Increment subscript indicesindex_increment
Index mutation mutatorsindex_mutations
Logical operator mutatorslogical_operators
Reporter for Mutation TestingMutationReporter
MutatorMutator
Run a mutation testmuttest
Create a plan for mutation testingmuttest_plan
Mutate an NA or NULL literalna_literal
NA and NULL literal mutatorsna_literals
Negate the condition of if/while statementsnegate_condition
Decrement numeric literalsnumeric_decrement
Increment numeric literalsnumeric_increment
Numeric literal mutatorsnumeric_literals
Mutate a binary operatoroperator
Package copy strategyPackageCopyStrategy
Progress Reporter for Mutation TestingProgressMutationReporter
Remove negation from the condition of if/while statementsremove_condition_negation
Remove logical negationremove_negation
Replace the value in explicit return() callsreplace_return_value
Mutate non-empty string literals to the empty stringstring_empty
Mutate the empty string literal to a placeholder stringstring_fill
String literal mutatorsstring_literals
TestStrategy interfaceTestStrategy